aws-sdk-proton 1.7.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-proton/client.rb +1118 -136
- data/lib/aws-sdk-proton/client_api.rb +611 -2
- data/lib/aws-sdk-proton/types.rb +1701 -290
- data/lib/aws-sdk-proton.rb +1 -1
- metadata +4 -4
@@ -119,7 +119,9 @@ module Aws::Proton
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
123
125
|
#
|
124
126
|
# @option options [required, String] :region
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -285,6 +287,15 @@ module Aws::Proton
|
|
285
287
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
288
|
# requests are made, and retries are disabled.
|
287
289
|
#
|
290
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
291
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
|
+
# will be used if available.
|
293
|
+
#
|
294
|
+
# @option options [Boolean] :use_fips_endpoint
|
295
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
296
|
+
# When a `fips` region is used, the region is normalized and this config
|
297
|
+
# is set to `true`.
|
298
|
+
#
|
288
299
|
# @option options [Boolean] :validate_params (true)
|
289
300
|
# When `true`, request parameters are validated before
|
290
301
|
# sending the request.
|
@@ -339,11 +350,11 @@ module Aws::Proton
|
|
339
350
|
|
340
351
|
# In a management account, an environment account connection request is
|
341
352
|
# accepted. When the environment account connection request is accepted,
|
342
|
-
#
|
353
|
+
# Proton can use the associated IAM role to provision environment
|
343
354
|
# infrastructure resources in the associated environment account.
|
344
355
|
#
|
345
356
|
# For more information, see [Environment account connections][1] in the
|
346
|
-
# *
|
357
|
+
# *Proton Administrator guide*.
|
347
358
|
#
|
348
359
|
#
|
349
360
|
#
|
@@ -385,7 +396,7 @@ module Aws::Proton
|
|
385
396
|
|
386
397
|
# Attempts to cancel an environment deployment on an UpdateEnvironment
|
387
398
|
# action, if the deployment is `IN_PROGRESS`. For more information, see
|
388
|
-
# [Update an environment][1] in the *
|
399
|
+
# [Update an environment][1] in the *Proton Administrator guide*.
|
389
400
|
#
|
390
401
|
# The following list includes potential cancellation scenarios.
|
391
402
|
#
|
@@ -430,6 +441,10 @@ module Aws::Proton
|
|
430
441
|
# resp.environment.name #=> String
|
431
442
|
# resp.environment.proton_service_role_arn #=> String
|
432
443
|
# resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
|
444
|
+
# resp.environment.provisioning_repository.arn #=> String
|
445
|
+
# resp.environment.provisioning_repository.branch #=> String
|
446
|
+
# resp.environment.provisioning_repository.name #=> String
|
447
|
+
# resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
433
448
|
# resp.environment.spec #=> String
|
434
449
|
# resp.environment.template_major_version #=> String
|
435
450
|
# resp.environment.template_minor_version #=> String
|
@@ -446,8 +461,8 @@ module Aws::Proton
|
|
446
461
|
|
447
462
|
# Attempts to cancel a service instance deployment on an
|
448
463
|
# UpdateServiceInstance action, if the deployment is `IN_PROGRESS`. For
|
449
|
-
# more information, see *Update a service instance* in the [
|
450
|
-
# Administrator guide][1] or the [
|
464
|
+
# more information, see *Update a service instance* in the [Proton
|
465
|
+
# Administrator guide][1] or the [Proton User guide][2].
|
451
466
|
#
|
452
467
|
# The following list includes potential cancellation scenarios.
|
453
468
|
#
|
@@ -511,8 +526,8 @@ module Aws::Proton
|
|
511
526
|
|
512
527
|
# Attempts to cancel a service pipeline deployment on an
|
513
528
|
# UpdateServicePipeline action, if the deployment is `IN_PROGRESS`. For
|
514
|
-
# more information, see *Update a service pipeline* in the [
|
515
|
-
# Administrator guide][1] or the [
|
529
|
+
# more information, see *Update a service pipeline* in the [Proton
|
530
|
+
# Administrator guide][1] or the [Proton User guide][2].
|
516
531
|
#
|
517
532
|
# The following list includes potential cancellation scenarios.
|
518
533
|
#
|
@@ -567,10 +582,21 @@ module Aws::Proton
|
|
567
582
|
req.send_request(options)
|
568
583
|
end
|
569
584
|
|
570
|
-
# Deploy a new environment. An
|
585
|
+
# Deploy a new environment. An Proton environment is created from an
|
571
586
|
# environment template that defines infrastructure and resources that
|
572
|
-
# can be shared across services.
|
573
|
-
#
|
587
|
+
# can be shared across services.
|
588
|
+
#
|
589
|
+
# **You can provision environments using the following methods:**
|
590
|
+
#
|
591
|
+
# * Standard provisioning: Proton makes direct calls to provision your
|
592
|
+
# resources.
|
593
|
+
#
|
594
|
+
# * Pull request provisioning: Proton makes pull requests on your
|
595
|
+
# repository to provide compiled infrastructure as code (IaC) files
|
596
|
+
# that your IaC engine uses to provision resources.
|
597
|
+
#
|
598
|
+
# For more information, see the [Environments][1] in the *Proton
|
599
|
+
# Administrator Guide.*
|
574
600
|
#
|
575
601
|
#
|
576
602
|
#
|
@@ -584,8 +610,9 @@ module Aws::Proton
|
|
584
610
|
# you're provisioning your environment infrastructure resources to an
|
585
611
|
# environment account. You must include either the
|
586
612
|
# `environmentAccountConnectionId` or `protonServiceRoleArn` parameter
|
587
|
-
# and value
|
588
|
-
# connections][1] in the
|
613
|
+
# and value and omit the `provisioningRepository` parameter and values.
|
614
|
+
# For more information, see [Environment account connections][1] in the
|
615
|
+
# *Proton Administrator guide*.
|
589
616
|
#
|
590
617
|
#
|
591
618
|
#
|
@@ -595,24 +622,40 @@ module Aws::Proton
|
|
595
622
|
# The name of the environment.
|
596
623
|
#
|
597
624
|
# @option params [String] :proton_service_role_arn
|
598
|
-
# The Amazon Resource Name (ARN) of the
|
599
|
-
#
|
600
|
-
#
|
601
|
-
# `protonServiceRoleArn` parameter and value
|
625
|
+
# The Amazon Resource Name (ARN) of the Proton service role that allows
|
626
|
+
# Proton to make calls to other services on your behalf. You must
|
627
|
+
# include either the `environmentAccountConnectionId` or
|
628
|
+
# `protonServiceRoleArn` parameter and value and omit the
|
629
|
+
# `provisioningRepository` parameter when you use standard provisioning.
|
630
|
+
#
|
631
|
+
# @option params [Types::RepositoryBranchInput] :provisioning_repository
|
632
|
+
# The repository that you provide with pull request provisioning. If you
|
633
|
+
# provide this parameter, you must omit the
|
634
|
+
# `environmentAccountConnectionId` and `protonServiceRoleArn`
|
635
|
+
# parameters.
|
636
|
+
#
|
637
|
+
# Provisioning by pull request is currently in feature preview and is
|
638
|
+
# only usable with Terraform based Proton Templates. To learn more about
|
639
|
+
# [Amazon Web Services Feature Preview terms][1], see section 2 on Beta
|
640
|
+
# and Previews.
|
641
|
+
#
|
642
|
+
#
|
643
|
+
#
|
644
|
+
# [1]: https://aws.amazon.com/service-terms
|
602
645
|
#
|
603
646
|
# @option params [required, String] :spec
|
604
647
|
# A link to a YAML formatted spec file that provides inputs as defined
|
605
648
|
# in the environment template bundle schema file. For more information,
|
606
|
-
# see [Environments][1] in the *
|
649
|
+
# see [Environments][1] in the *Proton Administrator Guide*.
|
607
650
|
#
|
608
651
|
#
|
609
652
|
#
|
610
653
|
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-environments.html
|
611
654
|
#
|
612
655
|
# @option params [Array<Types::Tag>] :tags
|
613
|
-
# Create tags for your environment. For more information, see *
|
614
|
-
#
|
615
|
-
#
|
656
|
+
# Create tags for your environment. For more information, see *Proton
|
657
|
+
# resources and tagging* in the [Proton Administrator Guide][1] or
|
658
|
+
# [Proton User Guide][2].
|
616
659
|
#
|
617
660
|
#
|
618
661
|
#
|
@@ -620,14 +663,14 @@ module Aws::Proton
|
|
620
663
|
# [2]: https://docs.aws.amazon.com/proton/latest/userguide/resources.html
|
621
664
|
#
|
622
665
|
# @option params [required, String] :template_major_version
|
623
|
-
# The
|
666
|
+
# The major version of the environment template.
|
624
667
|
#
|
625
668
|
# @option params [String] :template_minor_version
|
626
|
-
# The
|
669
|
+
# The minor version of the environment template.
|
627
670
|
#
|
628
671
|
# @option params [required, String] :template_name
|
629
672
|
# The name of the environment template. For more information, see
|
630
|
-
# [Environment Templates][1] in the *
|
673
|
+
# [Environment Templates][1] in the *Proton Administrator Guide*.
|
631
674
|
#
|
632
675
|
#
|
633
676
|
#
|
@@ -644,6 +687,11 @@ module Aws::Proton
|
|
644
687
|
# environment_account_connection_id: "EnvironmentAccountConnectionId",
|
645
688
|
# name: "ResourceName", # required
|
646
689
|
# proton_service_role_arn: "Arn",
|
690
|
+
# provisioning_repository: {
|
691
|
+
# branch: "GitBranchName", # required
|
692
|
+
# name: "RepositoryName", # required
|
693
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
694
|
+
# },
|
647
695
|
# spec: "SpecContents", # required
|
648
696
|
# tags: [
|
649
697
|
# {
|
@@ -670,6 +718,10 @@ module Aws::Proton
|
|
670
718
|
# resp.environment.name #=> String
|
671
719
|
# resp.environment.proton_service_role_arn #=> String
|
672
720
|
# resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
|
721
|
+
# resp.environment.provisioning_repository.arn #=> String
|
722
|
+
# resp.environment.provisioning_repository.branch #=> String
|
723
|
+
# resp.environment.provisioning_repository.name #=> String
|
724
|
+
# resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
673
725
|
# resp.environment.spec #=> String
|
674
726
|
# resp.environment.template_major_version #=> String
|
675
727
|
# resp.environment.template_minor_version #=> String
|
@@ -691,38 +743,47 @@ module Aws::Proton
|
|
691
743
|
# An environment account connection is a secure bi-directional
|
692
744
|
# connection between a *management account* and an *environment account*
|
693
745
|
# that maintains authorization and permissions. For more information,
|
694
|
-
# see [Environment account connections][1] in the *
|
695
|
-
#
|
746
|
+
# see [Environment account connections][1] in the *Proton Administrator
|
747
|
+
# guide*.
|
696
748
|
#
|
697
749
|
#
|
698
750
|
#
|
699
751
|
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html
|
700
752
|
#
|
701
753
|
# @option params [String] :client_token
|
702
|
-
# When included, if two
|
703
|
-
#
|
704
|
-
#
|
754
|
+
# When included, if two identical requests are made with the same client
|
755
|
+
# token, Proton returns the environment account connection that the
|
756
|
+
# first request created.
|
705
757
|
#
|
706
758
|
# **A suitable default value is auto-generated.** You should normally
|
707
759
|
# not need to pass this option.**
|
708
760
|
#
|
709
761
|
# @option params [required, String] :environment_name
|
710
|
-
# The name of the
|
711
|
-
#
|
762
|
+
# The name of the Proton environment that's created in the associated
|
763
|
+
# management account.
|
712
764
|
#
|
713
765
|
# @option params [required, String] :management_account_id
|
714
766
|
# The ID of the management account that accepts or rejects the
|
715
|
-
# environment account connection. You create an manage the
|
767
|
+
# environment account connection. You create an manage the Proton
|
716
768
|
# environment in this account. If the management account accepts the
|
717
|
-
# environment account connection,
|
718
|
-
#
|
719
|
-
#
|
769
|
+
# environment account connection, Proton can use the associated IAM role
|
770
|
+
# to provision environment infrastructure resources in the associated
|
771
|
+
# environment account.
|
720
772
|
#
|
721
773
|
# @option params [required, String] :role_arn
|
722
774
|
# The Amazon Resource Name (ARN) of the IAM service role that's created
|
723
|
-
# in the environment account.
|
775
|
+
# in the environment account. Proton uses this role to provision
|
724
776
|
# infrastructure resources in the associated environment account.
|
725
777
|
#
|
778
|
+
# @option params [Array<Types::Tag>] :tags
|
779
|
+
# Tags for your environment account connection. For more information,
|
780
|
+
# see [Proton resources and tagging][1] in the *Proton Administrator
|
781
|
+
# Guide*.
|
782
|
+
#
|
783
|
+
#
|
784
|
+
#
|
785
|
+
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/resources.html
|
786
|
+
#
|
726
787
|
# @return [Types::CreateEnvironmentAccountConnectionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
727
788
|
#
|
728
789
|
# * {Types::CreateEnvironmentAccountConnectionOutput#environment_account_connection #environment_account_connection} => Types::EnvironmentAccountConnection
|
@@ -734,6 +795,12 @@ module Aws::Proton
|
|
734
795
|
# environment_name: "ResourceName", # required
|
735
796
|
# management_account_id: "AwsAccountId", # required
|
736
797
|
# role_arn: "Arn", # required
|
798
|
+
# tags: [
|
799
|
+
# {
|
800
|
+
# key: "TagKey", # required
|
801
|
+
# value: "TagValue", # required
|
802
|
+
# },
|
803
|
+
# ],
|
737
804
|
# })
|
738
805
|
#
|
739
806
|
# @example Response structure
|
@@ -757,25 +824,23 @@ module Aws::Proton
|
|
757
824
|
req.send_request(options)
|
758
825
|
end
|
759
826
|
|
760
|
-
# Create an environment template for
|
761
|
-
#
|
762
|
-
# Guide*.
|
827
|
+
# Create an environment template for Proton. For more information, see
|
828
|
+
# [Environment Templates][1] in the *Proton Administrator Guide*.
|
763
829
|
#
|
764
830
|
# You can create an environment template in one of the two following
|
765
831
|
# ways:
|
766
832
|
#
|
767
833
|
# * Register and publish a *standard* environment template that
|
768
|
-
# instructs
|
769
|
-
# infrastructure.
|
834
|
+
# instructs Proton to deploy and manage environment infrastructure.
|
770
835
|
#
|
771
836
|
# * Register and publish a *customer managed* environment template that
|
772
|
-
# connects
|
773
|
-
#
|
837
|
+
# connects Proton to your existing provisioned infrastructure that you
|
838
|
+
# manage. Proton *doesn't* manage your existing provisioned
|
774
839
|
# infrastructure. To create an environment template for customer
|
775
840
|
# provisioned and managed infrastructure, include the `provisioning`
|
776
841
|
# parameter and set the value to `CUSTOMER_MANAGED`. For more
|
777
842
|
# information, see [Register and publish an environment template][2]
|
778
|
-
# in the *
|
843
|
+
# in the *Proton Administrator Guide*.
|
779
844
|
#
|
780
845
|
#
|
781
846
|
#
|
@@ -789,8 +854,7 @@ module Aws::Proton
|
|
789
854
|
# The environment template name as displayed in the developer interface.
|
790
855
|
#
|
791
856
|
# @option params [String] :encryption_key
|
792
|
-
# A customer provided encryption key that
|
793
|
-
# data.
|
857
|
+
# A customer provided encryption key that Proton uses to encrypt data.
|
794
858
|
#
|
795
859
|
# @option params [required, String] :name
|
796
860
|
# The name of the environment template.
|
@@ -801,8 +865,8 @@ module Aws::Proton
|
|
801
865
|
#
|
802
866
|
# @option params [Array<Types::Tag>] :tags
|
803
867
|
# Create tags for your environment template. For more information, see
|
804
|
-
# *
|
805
|
-
#
|
868
|
+
# *Proton resources and tagging* in the [Proton Administrator Guide][1]
|
869
|
+
# or [Proton User Guide][2].
|
806
870
|
#
|
807
871
|
#
|
808
872
|
#
|
@@ -856,9 +920,9 @@ module Aws::Proton
|
|
856
920
|
# version that's backwards compatible within its major version.
|
857
921
|
#
|
858
922
|
# @option params [String] :client_token
|
859
|
-
# When included, if two
|
860
|
-
#
|
861
|
-
#
|
923
|
+
# When included, if two identical requests are made with the same client
|
924
|
+
# token, Proton returns the environment template version that the first
|
925
|
+
# request created.
|
862
926
|
#
|
863
927
|
# **A suitable default value is auto-generated.** You should normally
|
864
928
|
# not need to pass this option.**
|
@@ -868,10 +932,10 @@ module Aws::Proton
|
|
868
932
|
#
|
869
933
|
# @option params [String] :major_version
|
870
934
|
# To create a new minor version of the environment template, include a
|
871
|
-
# `
|
935
|
+
# `major Version`.
|
872
936
|
#
|
873
937
|
# To create a new major and minor version of the environment template,
|
874
|
-
# *exclude* `
|
938
|
+
# *exclude* `major Version`.
|
875
939
|
#
|
876
940
|
# @option params [required, Types::TemplateVersionSourceInput] :source
|
877
941
|
# An object that includes the template bundle S3 bucket path and name
|
@@ -931,11 +995,69 @@ module Aws::Proton
|
|
931
995
|
req.send_request(options)
|
932
996
|
end
|
933
997
|
|
934
|
-
# Create
|
935
|
-
#
|
936
|
-
#
|
937
|
-
#
|
938
|
-
#
|
998
|
+
# Create and register a link to a repository that can be used with pull
|
999
|
+
# request provisioning or template sync configurations. For more
|
1000
|
+
# information, see [Template bundles][1] and [Template sync
|
1001
|
+
# configurations][2] in the *Proton Administrator Guide*.
|
1002
|
+
#
|
1003
|
+
#
|
1004
|
+
#
|
1005
|
+
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-bundles.html
|
1006
|
+
# [2]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-sync-configs.html
|
1007
|
+
#
|
1008
|
+
# @option params [required, String] :connection_arn
|
1009
|
+
# The Amazon Resource Name (ARN) of your Amazon Web Services CodeStar
|
1010
|
+
# connection. For more information, see [Setting up for Proton][1] in
|
1011
|
+
# the *Proton Administrator Guide*.
|
1012
|
+
#
|
1013
|
+
#
|
1014
|
+
#
|
1015
|
+
# [1]: https://docs.aws.amazon.com/setting-up-for-service
|
1016
|
+
#
|
1017
|
+
# @option params [String] :encryption_key
|
1018
|
+
# The ARN of your customer Amazon Web Services Key Management Service
|
1019
|
+
# (Amazon Web Services KMS) key.
|
1020
|
+
#
|
1021
|
+
# @option params [required, String] :name
|
1022
|
+
# The repository name, for example `myrepos/myrepo`.
|
1023
|
+
#
|
1024
|
+
# @option params [required, String] :provider
|
1025
|
+
# The repository provider.
|
1026
|
+
#
|
1027
|
+
# @return [Types::CreateRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1028
|
+
#
|
1029
|
+
# * {Types::CreateRepositoryOutput#repository #repository} => Types::Repository
|
1030
|
+
#
|
1031
|
+
# @example Request syntax with placeholder values
|
1032
|
+
#
|
1033
|
+
# resp = client.create_repository({
|
1034
|
+
# connection_arn: "Arn", # required
|
1035
|
+
# encryption_key: "Arn",
|
1036
|
+
# name: "RepositoryName", # required
|
1037
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
1038
|
+
# })
|
1039
|
+
#
|
1040
|
+
# @example Response structure
|
1041
|
+
#
|
1042
|
+
# resp.repository.arn #=> String
|
1043
|
+
# resp.repository.connection_arn #=> String
|
1044
|
+
# resp.repository.encryption_key #=> String
|
1045
|
+
# resp.repository.name #=> String
|
1046
|
+
# resp.repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1047
|
+
#
|
1048
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateRepository AWS API Documentation
|
1049
|
+
#
|
1050
|
+
# @overload create_repository(params = {})
|
1051
|
+
# @param [Hash] params ({})
|
1052
|
+
def create_repository(params = {}, options = {})
|
1053
|
+
req = build_request(:create_repository, params)
|
1054
|
+
req.send_request(options)
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
# Create an Proton service. An Proton service is an instantiation of a
|
1058
|
+
# service template and often includes several service instances and
|
1059
|
+
# pipeline. For more information, see [Services][1] in the *Proton
|
1060
|
+
# Administrator Guide* and [Services][2] in the *Proton User Guide*.
|
939
1061
|
#
|
940
1062
|
#
|
941
1063
|
#
|
@@ -944,21 +1066,21 @@ module Aws::Proton
|
|
944
1066
|
#
|
945
1067
|
# @option params [String] :branch_name
|
946
1068
|
# The name of the code repository branch that holds the code that's
|
947
|
-
# deployed in
|
948
|
-
#
|
1069
|
+
# deployed in Proton. *Don't* include this parameter if your service
|
1070
|
+
# template *doesn't* include a service pipeline.
|
949
1071
|
#
|
950
1072
|
# @option params [String] :description
|
951
|
-
# A description of the
|
1073
|
+
# A description of the Proton service.
|
952
1074
|
#
|
953
1075
|
# @option params [required, String] :name
|
954
1076
|
# The service name.
|
955
1077
|
#
|
956
1078
|
# @option params [String] :repository_connection_arn
|
957
1079
|
# The Amazon Resource Name (ARN) of the repository connection. For more
|
958
|
-
# information, see [Set up repository connection][1] in the *
|
959
|
-
# Administrator Guide* and [Setting up with
|
960
|
-
#
|
961
|
-
#
|
1080
|
+
# information, see [Set up repository connection][1] in the *Proton
|
1081
|
+
# Administrator Guide* and [Setting up with Proton][2] in the *Proton
|
1082
|
+
# User Guide*. *Don't* include this parameter if your service template
|
1083
|
+
# *doesn't* include a service pipeline.
|
962
1084
|
#
|
963
1085
|
#
|
964
1086
|
#
|
@@ -974,8 +1096,8 @@ module Aws::Proton
|
|
974
1096
|
# template bundle schema file. The spec file is in YAML format. Don’t
|
975
1097
|
# include pipeline inputs in the spec if your service template *doesn’t*
|
976
1098
|
# include a service pipeline. For more information, see [Create a
|
977
|
-
# service][1] in the *
|
978
|
-
# service][2] in the *
|
1099
|
+
# service][1] in the *Proton Administrator Guide* and [Create a
|
1100
|
+
# service][2] in the *Proton User Guide*.
|
979
1101
|
#
|
980
1102
|
#
|
981
1103
|
#
|
@@ -983,9 +1105,9 @@ module Aws::Proton
|
|
983
1105
|
# [2]: https://docs.aws.amazon.com/proton/latest/userguide/ug-svc-create.html
|
984
1106
|
#
|
985
1107
|
# @option params [Array<Types::Tag>] :tags
|
986
|
-
# Create tags for your service. For more information, see *
|
987
|
-
# resources and tagging* in the [
|
988
|
-
# [
|
1108
|
+
# Create tags for your service. For more information, see *Proton
|
1109
|
+
# resources and tagging* in the [Proton Administrator Guide][1] or
|
1110
|
+
# [Proton User Guide][2].
|
989
1111
|
#
|
990
1112
|
#
|
991
1113
|
#
|
@@ -993,12 +1115,12 @@ module Aws::Proton
|
|
993
1115
|
# [2]: https://docs.aws.amazon.com/proton/latest/userguide/resources.html
|
994
1116
|
#
|
995
1117
|
# @option params [required, String] :template_major_version
|
996
|
-
# The
|
997
|
-
#
|
1118
|
+
# The major version of the service template that was used to create the
|
1119
|
+
# service.
|
998
1120
|
#
|
999
1121
|
# @option params [String] :template_minor_version
|
1000
|
-
# The
|
1001
|
-
#
|
1122
|
+
# The minor version of the service template that was used to create the
|
1123
|
+
# service.
|
1002
1124
|
#
|
1003
1125
|
# @option params [required, String] :template_name
|
1004
1126
|
# The name of the service template that's used to create the service.
|
@@ -1064,11 +1186,11 @@ module Aws::Proton
|
|
1064
1186
|
# Create a service template. The administrator creates a service
|
1065
1187
|
# template to define standardized infrastructure and an optional CICD
|
1066
1188
|
# service pipeline. Developers, in turn, select the service template
|
1067
|
-
# from
|
1189
|
+
# from Proton. If the selected service template includes a service
|
1068
1190
|
# pipeline definition, they provide a link to their source code
|
1069
|
-
# repository.
|
1070
|
-
#
|
1071
|
-
#
|
1191
|
+
# repository. Proton then deploys and manages the infrastructure defined
|
1192
|
+
# by the selected service template. For more information, see [Service
|
1193
|
+
# Templates][1] in the *Proton Administrator Guide*.
|
1072
1194
|
#
|
1073
1195
|
#
|
1074
1196
|
#
|
@@ -1088,20 +1210,20 @@ module Aws::Proton
|
|
1088
1210
|
# The name of the service template.
|
1089
1211
|
#
|
1090
1212
|
# @option params [String] :pipeline_provisioning
|
1091
|
-
#
|
1092
|
-
#
|
1093
|
-
#
|
1094
|
-
#
|
1095
|
-
#
|
1213
|
+
# Proton includes a service pipeline for your service by default. When
|
1214
|
+
# included, this parameter indicates that an Proton service pipeline
|
1215
|
+
# *won't* be included for your service. Once specified, this parameter
|
1216
|
+
# *can't* be changed. For more information, see [Service template
|
1217
|
+
# bundles][1] in the *Proton Administrator Guide*.
|
1096
1218
|
#
|
1097
1219
|
#
|
1098
1220
|
#
|
1099
1221
|
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-bundles.html
|
1100
1222
|
#
|
1101
1223
|
# @option params [Array<Types::Tag>] :tags
|
1102
|
-
# Create tags for your service template. For more information, see
|
1103
|
-
# Proton resources and tagging* in the [
|
1104
|
-
#
|
1224
|
+
# Create tags for your service template. For more information, see
|
1225
|
+
# *Proton resources and tagging* in the [Proton Administrator Guide][1]
|
1226
|
+
# or [Proton User Guide][2].
|
1105
1227
|
#
|
1106
1228
|
#
|
1107
1229
|
#
|
@@ -1150,14 +1272,14 @@ module Aws::Proton
|
|
1150
1272
|
end
|
1151
1273
|
|
1152
1274
|
# 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*
|
1275
|
+
# version of a service template is a version that *isn't* backward
|
1154
1276
|
# compatible. A minor version of a service template is a version that's
|
1155
|
-
#
|
1277
|
+
# backward compatible within its major version.
|
1156
1278
|
#
|
1157
1279
|
# @option params [String] :client_token
|
1158
|
-
# When included, if two
|
1159
|
-
#
|
1160
|
-
#
|
1280
|
+
# When included, if two identical requests are made with the same client
|
1281
|
+
# token, Proton returns the service template version that the first
|
1282
|
+
# request created.
|
1161
1283
|
#
|
1162
1284
|
# **A suitable default value is auto-generated.** You should normally
|
1163
1285
|
# not need to pass this option.**
|
@@ -1171,10 +1293,10 @@ module Aws::Proton
|
|
1171
1293
|
#
|
1172
1294
|
# @option params [String] :major_version
|
1173
1295
|
# To create a new minor version of the service template, include a
|
1174
|
-
# `
|
1296
|
+
# `major Version`.
|
1175
1297
|
#
|
1176
1298
|
# To create a new major and minor version of the service template,
|
1177
|
-
# *exclude* `
|
1299
|
+
# *exclude* `major Version`.
|
1178
1300
|
#
|
1179
1301
|
# @option params [required, Types::TemplateVersionSourceInput] :source
|
1180
1302
|
# An object that includes the template bundle S3 bucket path and name
|
@@ -1243,6 +1365,72 @@ module Aws::Proton
|
|
1243
1365
|
req.send_request(options)
|
1244
1366
|
end
|
1245
1367
|
|
1368
|
+
# Set up a template for automated template version creation. When a
|
1369
|
+
# commit is pushed to your registered [repository][1], Proton checks for
|
1370
|
+
# changes to your repository template bundles. If it detects a template
|
1371
|
+
# bundle change, a new minor or major version of its template is
|
1372
|
+
# created, if the version doesn’t already exist. For more information,
|
1373
|
+
# see [Template sync configurations][2] in the *Proton Administrator
|
1374
|
+
# Guide*.
|
1375
|
+
#
|
1376
|
+
#
|
1377
|
+
#
|
1378
|
+
# [1]: https://docs.aws.amazon.com/proton/latest/APIReference/API_Repository.html
|
1379
|
+
# [2]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-sync-configs.html
|
1380
|
+
#
|
1381
|
+
# @option params [required, String] :branch
|
1382
|
+
# The branch of the registered repository for your template.
|
1383
|
+
#
|
1384
|
+
# @option params [required, String] :repository_name
|
1385
|
+
# The name of your repository, for example `myrepos/myrepo`.
|
1386
|
+
#
|
1387
|
+
# @option params [required, String] :repository_provider
|
1388
|
+
# The provider type for your repository.
|
1389
|
+
#
|
1390
|
+
# @option params [String] :subdirectory
|
1391
|
+
# A repository subdirectory path to your template bundle directory. When
|
1392
|
+
# included, Proton limits the template bundle search to this repository
|
1393
|
+
# directory.
|
1394
|
+
#
|
1395
|
+
# @option params [required, String] :template_name
|
1396
|
+
# The name of your registered template.
|
1397
|
+
#
|
1398
|
+
# @option params [required, String] :template_type
|
1399
|
+
# The type of the registered template.
|
1400
|
+
#
|
1401
|
+
# @return [Types::CreateTemplateSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1402
|
+
#
|
1403
|
+
# * {Types::CreateTemplateSyncConfigOutput#template_sync_config #template_sync_config} => Types::TemplateSyncConfig
|
1404
|
+
#
|
1405
|
+
# @example Request syntax with placeholder values
|
1406
|
+
#
|
1407
|
+
# resp = client.create_template_sync_config({
|
1408
|
+
# branch: "GitBranchName", # required
|
1409
|
+
# repository_name: "RepositoryName", # required
|
1410
|
+
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
1411
|
+
# subdirectory: "Subdirectory",
|
1412
|
+
# template_name: "ResourceName", # required
|
1413
|
+
# template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
|
1414
|
+
# })
|
1415
|
+
#
|
1416
|
+
# @example Response structure
|
1417
|
+
#
|
1418
|
+
# resp.template_sync_config.branch #=> String
|
1419
|
+
# resp.template_sync_config.repository_name #=> String
|
1420
|
+
# resp.template_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1421
|
+
# resp.template_sync_config.subdirectory #=> String
|
1422
|
+
# resp.template_sync_config.template_name #=> String
|
1423
|
+
# resp.template_sync_config.template_type #=> String, one of "ENVIRONMENT", "SERVICE"
|
1424
|
+
#
|
1425
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateTemplateSyncConfig AWS API Documentation
|
1426
|
+
#
|
1427
|
+
# @overload create_template_sync_config(params = {})
|
1428
|
+
# @param [Hash] params ({})
|
1429
|
+
def create_template_sync_config(params = {}, options = {})
|
1430
|
+
req = build_request(:create_template_sync_config, params)
|
1431
|
+
req.send_request(options)
|
1432
|
+
end
|
1433
|
+
|
1246
1434
|
# Delete an environment.
|
1247
1435
|
#
|
1248
1436
|
# @option params [required, String] :name
|
@@ -1272,6 +1460,10 @@ module Aws::Proton
|
|
1272
1460
|
# resp.environment.name #=> String
|
1273
1461
|
# resp.environment.proton_service_role_arn #=> String
|
1274
1462
|
# resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
|
1463
|
+
# resp.environment.provisioning_repository.arn #=> String
|
1464
|
+
# resp.environment.provisioning_repository.branch #=> String
|
1465
|
+
# resp.environment.provisioning_repository.name #=> String
|
1466
|
+
# resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1275
1467
|
# resp.environment.spec #=> String
|
1276
1468
|
# resp.environment.template_major_version #=> String
|
1277
1469
|
# resp.environment.template_minor_version #=> String
|
@@ -1289,14 +1481,14 @@ module Aws::Proton
|
|
1289
1481
|
# In an environment account, delete an environment account connection.
|
1290
1482
|
#
|
1291
1483
|
# After you delete an environment account connection that’s in use by an
|
1292
|
-
#
|
1484
|
+
# Proton environment, Proton *can’t* manage the environment
|
1293
1485
|
# infrastructure resources until a new environment account connection is
|
1294
1486
|
# accepted for the environment account and associated environment.
|
1295
1487
|
# You're responsible for cleaning up provisioned resources that remain
|
1296
1488
|
# without an environment connection.
|
1297
1489
|
#
|
1298
1490
|
# For more information, see [Environment account connections][1] in the
|
1299
|
-
# *
|
1491
|
+
# *Proton Administrator guide*.
|
1300
1492
|
#
|
1301
1493
|
#
|
1302
1494
|
#
|
@@ -1378,13 +1570,13 @@ module Aws::Proton
|
|
1378
1570
|
# `Recommended` version. Delete the `Recommended` version of the
|
1379
1571
|
# environment template if no other major versions or minor versions of
|
1380
1572
|
# the environment template exist. A major version of an environment
|
1381
|
-
# template is a version that's not
|
1573
|
+
# template is a version that's not backward compatible.
|
1382
1574
|
#
|
1383
1575
|
# Delete a minor version of an environment template if it *isn't* the
|
1384
1576
|
# `Recommended` version. Delete a `Recommended` minor version of the
|
1385
1577
|
# environment template if no other minor versions of the environment
|
1386
1578
|
# template exist. A minor version of an environment template is a
|
1387
|
-
# version that's
|
1579
|
+
# version that's backward compatible.
|
1388
1580
|
#
|
1389
1581
|
# @option params [required, String] :major_version
|
1390
1582
|
# The environment template major version to delete.
|
@@ -1430,6 +1622,42 @@ module Aws::Proton
|
|
1430
1622
|
req.send_request(options)
|
1431
1623
|
end
|
1432
1624
|
|
1625
|
+
# De-register and unlink your repository.
|
1626
|
+
#
|
1627
|
+
# @option params [required, String] :name
|
1628
|
+
# The name of the repository.
|
1629
|
+
#
|
1630
|
+
# @option params [required, String] :provider
|
1631
|
+
# The repository provider.
|
1632
|
+
#
|
1633
|
+
# @return [Types::DeleteRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1634
|
+
#
|
1635
|
+
# * {Types::DeleteRepositoryOutput#repository #repository} => Types::Repository
|
1636
|
+
#
|
1637
|
+
# @example Request syntax with placeholder values
|
1638
|
+
#
|
1639
|
+
# resp = client.delete_repository({
|
1640
|
+
# name: "RepositoryName", # required
|
1641
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
1642
|
+
# })
|
1643
|
+
#
|
1644
|
+
# @example Response structure
|
1645
|
+
#
|
1646
|
+
# resp.repository.arn #=> String
|
1647
|
+
# resp.repository.connection_arn #=> String
|
1648
|
+
# resp.repository.encryption_key #=> String
|
1649
|
+
# resp.repository.name #=> String
|
1650
|
+
# resp.repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1651
|
+
#
|
1652
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteRepository AWS API Documentation
|
1653
|
+
#
|
1654
|
+
# @overload delete_repository(params = {})
|
1655
|
+
# @param [Hash] params ({})
|
1656
|
+
def delete_repository(params = {}, options = {})
|
1657
|
+
req = build_request(:delete_repository, params)
|
1658
|
+
req.send_request(options)
|
1659
|
+
end
|
1660
|
+
|
1433
1661
|
# Delete a service.
|
1434
1662
|
#
|
1435
1663
|
# @option params [required, String] :name
|
@@ -1576,7 +1804,44 @@ module Aws::Proton
|
|
1576
1804
|
req.send_request(options)
|
1577
1805
|
end
|
1578
1806
|
|
1579
|
-
#
|
1807
|
+
# Delete a template sync configuration.
|
1808
|
+
#
|
1809
|
+
# @option params [required, String] :template_name
|
1810
|
+
# The template name.
|
1811
|
+
#
|
1812
|
+
# @option params [required, String] :template_type
|
1813
|
+
# The template type.
|
1814
|
+
#
|
1815
|
+
# @return [Types::DeleteTemplateSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1816
|
+
#
|
1817
|
+
# * {Types::DeleteTemplateSyncConfigOutput#template_sync_config #template_sync_config} => Types::TemplateSyncConfig
|
1818
|
+
#
|
1819
|
+
# @example Request syntax with placeholder values
|
1820
|
+
#
|
1821
|
+
# resp = client.delete_template_sync_config({
|
1822
|
+
# template_name: "ResourceName", # required
|
1823
|
+
# template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
|
1824
|
+
# })
|
1825
|
+
#
|
1826
|
+
# @example Response structure
|
1827
|
+
#
|
1828
|
+
# resp.template_sync_config.branch #=> String
|
1829
|
+
# resp.template_sync_config.repository_name #=> String
|
1830
|
+
# resp.template_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1831
|
+
# resp.template_sync_config.subdirectory #=> String
|
1832
|
+
# resp.template_sync_config.template_name #=> String
|
1833
|
+
# resp.template_sync_config.template_type #=> String, one of "ENVIRONMENT", "SERVICE"
|
1834
|
+
#
|
1835
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteTemplateSyncConfig AWS API Documentation
|
1836
|
+
#
|
1837
|
+
# @overload delete_template_sync_config(params = {})
|
1838
|
+
# @param [Hash] params ({})
|
1839
|
+
def delete_template_sync_config(params = {}, options = {})
|
1840
|
+
req = build_request(:delete_template_sync_config, params)
|
1841
|
+
req.send_request(options)
|
1842
|
+
end
|
1843
|
+
|
1844
|
+
# Get detail data for the Proton pipeline service role.
|
1580
1845
|
#
|
1581
1846
|
# @return [Types::GetAccountSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1582
1847
|
#
|
@@ -1584,6 +1849,10 @@ module Aws::Proton
|
|
1584
1849
|
#
|
1585
1850
|
# @example Response structure
|
1586
1851
|
#
|
1852
|
+
# resp.account_settings.pipeline_provisioning_repository.arn #=> String
|
1853
|
+
# resp.account_settings.pipeline_provisioning_repository.branch #=> String
|
1854
|
+
# resp.account_settings.pipeline_provisioning_repository.name #=> String
|
1855
|
+
# resp.account_settings.pipeline_provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1587
1856
|
# resp.account_settings.pipeline_service_role_arn #=> String
|
1588
1857
|
#
|
1589
1858
|
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetAccountSettings AWS API Documentation
|
@@ -1624,6 +1893,10 @@ module Aws::Proton
|
|
1624
1893
|
# resp.environment.name #=> String
|
1625
1894
|
# resp.environment.proton_service_role_arn #=> String
|
1626
1895
|
# resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
|
1896
|
+
# resp.environment.provisioning_repository.arn #=> String
|
1897
|
+
# resp.environment.provisioning_repository.branch #=> String
|
1898
|
+
# resp.environment.provisioning_repository.name #=> String
|
1899
|
+
# resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1627
1900
|
# resp.environment.spec #=> String
|
1628
1901
|
# resp.environment.template_major_version #=> String
|
1629
1902
|
# resp.environment.template_minor_version #=> String
|
@@ -1647,7 +1920,7 @@ module Aws::Proton
|
|
1647
1920
|
# account connection.
|
1648
1921
|
#
|
1649
1922
|
# For more information, see [Environment account connections][1] in the
|
1650
|
-
# *
|
1923
|
+
# *Proton Administrator guide*.
|
1651
1924
|
#
|
1652
1925
|
#
|
1653
1926
|
#
|
@@ -1728,8 +2001,8 @@ module Aws::Proton
|
|
1728
2001
|
# template.
|
1729
2002
|
#
|
1730
2003
|
# @option params [required, String] :major_version
|
1731
|
-
# To view environment template major version detail data, include
|
1732
|
-
#
|
2004
|
+
# To view environment template major version detail data, include `major
|
2005
|
+
# Version`.
|
1733
2006
|
#
|
1734
2007
|
# @option params [required, String] :minor_version
|
1735
2008
|
# To view environment template minor version detail data, include
|
@@ -1778,6 +2051,88 @@ module Aws::Proton
|
|
1778
2051
|
req.send_request(options)
|
1779
2052
|
end
|
1780
2053
|
|
2054
|
+
# Get detail data for a repository.
|
2055
|
+
#
|
2056
|
+
# @option params [required, String] :name
|
2057
|
+
# The repository name, for example `myrepos/myrepo`.
|
2058
|
+
#
|
2059
|
+
# @option params [required, String] :provider
|
2060
|
+
# The repository provider.
|
2061
|
+
#
|
2062
|
+
# @return [Types::GetRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2063
|
+
#
|
2064
|
+
# * {Types::GetRepositoryOutput#repository #repository} => Types::Repository
|
2065
|
+
#
|
2066
|
+
# @example Request syntax with placeholder values
|
2067
|
+
#
|
2068
|
+
# resp = client.get_repository({
|
2069
|
+
# name: "RepositoryName", # required
|
2070
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
2071
|
+
# })
|
2072
|
+
#
|
2073
|
+
# @example Response structure
|
2074
|
+
#
|
2075
|
+
# resp.repository.arn #=> String
|
2076
|
+
# resp.repository.connection_arn #=> String
|
2077
|
+
# resp.repository.encryption_key #=> String
|
2078
|
+
# resp.repository.name #=> String
|
2079
|
+
# resp.repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2080
|
+
#
|
2081
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetRepository AWS API Documentation
|
2082
|
+
#
|
2083
|
+
# @overload get_repository(params = {})
|
2084
|
+
# @param [Hash] params ({})
|
2085
|
+
def get_repository(params = {}, options = {})
|
2086
|
+
req = build_request(:get_repository, params)
|
2087
|
+
req.send_request(options)
|
2088
|
+
end
|
2089
|
+
|
2090
|
+
# Get the repository sync status.
|
2091
|
+
#
|
2092
|
+
# @option params [required, String] :branch
|
2093
|
+
# The repository branch.
|
2094
|
+
#
|
2095
|
+
# @option params [required, String] :repository_name
|
2096
|
+
# The repository name.
|
2097
|
+
#
|
2098
|
+
# @option params [required, String] :repository_provider
|
2099
|
+
# The repository provider.
|
2100
|
+
#
|
2101
|
+
# @option params [required, String] :sync_type
|
2102
|
+
# The repository sync type.
|
2103
|
+
#
|
2104
|
+
# @return [Types::GetRepositorySyncStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2105
|
+
#
|
2106
|
+
# * {Types::GetRepositorySyncStatusOutput#latest_sync #latest_sync} => Types::RepositorySyncAttempt
|
2107
|
+
#
|
2108
|
+
# @example Request syntax with placeholder values
|
2109
|
+
#
|
2110
|
+
# resp = client.get_repository_sync_status({
|
2111
|
+
# branch: "GitBranchName", # required
|
2112
|
+
# repository_name: "RepositoryName", # required
|
2113
|
+
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
2114
|
+
# sync_type: "TEMPLATE_SYNC", # required, accepts TEMPLATE_SYNC
|
2115
|
+
# })
|
2116
|
+
#
|
2117
|
+
# @example Response structure
|
2118
|
+
#
|
2119
|
+
# resp.latest_sync.events #=> Array
|
2120
|
+
# resp.latest_sync.events[0].event #=> String
|
2121
|
+
# resp.latest_sync.events[0].external_id #=> String
|
2122
|
+
# resp.latest_sync.events[0].time #=> Time
|
2123
|
+
# resp.latest_sync.events[0].type #=> String
|
2124
|
+
# resp.latest_sync.started_at #=> Time
|
2125
|
+
# resp.latest_sync.status #=> String, one of "INITIATED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "QUEUED"
|
2126
|
+
#
|
2127
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetRepositorySyncStatus AWS API Documentation
|
2128
|
+
#
|
2129
|
+
# @overload get_repository_sync_status(params = {})
|
2130
|
+
# @param [Hash] params ({})
|
2131
|
+
def get_repository_sync_status(params = {}, options = {})
|
2132
|
+
req = build_request(:get_repository_sync_status, params)
|
2133
|
+
req.send_request(options)
|
2134
|
+
end
|
2135
|
+
|
1781
2136
|
# Get detail data for a service.
|
1782
2137
|
#
|
1783
2138
|
# @option params [required, String] :name
|
@@ -1926,8 +2281,8 @@ module Aws::Proton
|
|
1926
2281
|
# View detail data for a major or minor version of a service template.
|
1927
2282
|
#
|
1928
2283
|
# @option params [required, String] :major_version
|
1929
|
-
# To view service template major version detail data, include
|
1930
|
-
#
|
2284
|
+
# To view service template major version detail data, include `major
|
2285
|
+
# Version`.
|
1931
2286
|
#
|
1932
2287
|
# @option params [required, String] :minor_version
|
1933
2288
|
# To view service template minor version detail data, include
|
@@ -1979,10 +2334,125 @@ module Aws::Proton
|
|
1979
2334
|
req.send_request(options)
|
1980
2335
|
end
|
1981
2336
|
|
2337
|
+
# Get detail data for a template sync configuration.
|
2338
|
+
#
|
2339
|
+
# @option params [required, String] :template_name
|
2340
|
+
# The template name.
|
2341
|
+
#
|
2342
|
+
# @option params [required, String] :template_type
|
2343
|
+
# The template type.
|
2344
|
+
#
|
2345
|
+
# @return [Types::GetTemplateSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2346
|
+
#
|
2347
|
+
# * {Types::GetTemplateSyncConfigOutput#template_sync_config #template_sync_config} => Types::TemplateSyncConfig
|
2348
|
+
#
|
2349
|
+
# @example Request syntax with placeholder values
|
2350
|
+
#
|
2351
|
+
# resp = client.get_template_sync_config({
|
2352
|
+
# template_name: "ResourceName", # required
|
2353
|
+
# template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
|
2354
|
+
# })
|
2355
|
+
#
|
2356
|
+
# @example Response structure
|
2357
|
+
#
|
2358
|
+
# resp.template_sync_config.branch #=> String
|
2359
|
+
# resp.template_sync_config.repository_name #=> String
|
2360
|
+
# resp.template_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2361
|
+
# resp.template_sync_config.subdirectory #=> String
|
2362
|
+
# resp.template_sync_config.template_name #=> String
|
2363
|
+
# resp.template_sync_config.template_type #=> String, one of "ENVIRONMENT", "SERVICE"
|
2364
|
+
#
|
2365
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetTemplateSyncConfig AWS API Documentation
|
2366
|
+
#
|
2367
|
+
# @overload get_template_sync_config(params = {})
|
2368
|
+
# @param [Hash] params ({})
|
2369
|
+
def get_template_sync_config(params = {}, options = {})
|
2370
|
+
req = build_request(:get_template_sync_config, params)
|
2371
|
+
req.send_request(options)
|
2372
|
+
end
|
2373
|
+
|
2374
|
+
# Get the status of a template sync.
|
2375
|
+
#
|
2376
|
+
# @option params [required, String] :template_name
|
2377
|
+
# The template name.
|
2378
|
+
#
|
2379
|
+
# @option params [required, String] :template_type
|
2380
|
+
# The template type.
|
2381
|
+
#
|
2382
|
+
# @option params [required, String] :template_version
|
2383
|
+
# The template version.
|
2384
|
+
#
|
2385
|
+
# @return [Types::GetTemplateSyncStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2386
|
+
#
|
2387
|
+
# * {Types::GetTemplateSyncStatusOutput#desired_state #desired_state} => Types::Revision
|
2388
|
+
# * {Types::GetTemplateSyncStatusOutput#latest_successful_sync #latest_successful_sync} => Types::ResourceSyncAttempt
|
2389
|
+
# * {Types::GetTemplateSyncStatusOutput#latest_sync #latest_sync} => Types::ResourceSyncAttempt
|
2390
|
+
#
|
2391
|
+
# @example Request syntax with placeholder values
|
2392
|
+
#
|
2393
|
+
# resp = client.get_template_sync_status({
|
2394
|
+
# template_name: "ResourceName", # required
|
2395
|
+
# template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
|
2396
|
+
# template_version: "TemplateVersionPart", # required
|
2397
|
+
# })
|
2398
|
+
#
|
2399
|
+
# @example Response structure
|
2400
|
+
#
|
2401
|
+
# resp.desired_state.branch #=> String
|
2402
|
+
# resp.desired_state.directory #=> String
|
2403
|
+
# resp.desired_state.repository_name #=> String
|
2404
|
+
# resp.desired_state.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2405
|
+
# resp.desired_state.sha #=> String
|
2406
|
+
# resp.latest_successful_sync.events #=> Array
|
2407
|
+
# resp.latest_successful_sync.events[0].event #=> String
|
2408
|
+
# resp.latest_successful_sync.events[0].external_id #=> String
|
2409
|
+
# resp.latest_successful_sync.events[0].time #=> Time
|
2410
|
+
# resp.latest_successful_sync.events[0].type #=> String
|
2411
|
+
# resp.latest_successful_sync.initial_revision.branch #=> String
|
2412
|
+
# resp.latest_successful_sync.initial_revision.directory #=> String
|
2413
|
+
# resp.latest_successful_sync.initial_revision.repository_name #=> String
|
2414
|
+
# resp.latest_successful_sync.initial_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2415
|
+
# resp.latest_successful_sync.initial_revision.sha #=> String
|
2416
|
+
# resp.latest_successful_sync.started_at #=> Time
|
2417
|
+
# resp.latest_successful_sync.status #=> String, one of "INITIATED", "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
2418
|
+
# resp.latest_successful_sync.target #=> String
|
2419
|
+
# resp.latest_successful_sync.target_revision.branch #=> String
|
2420
|
+
# resp.latest_successful_sync.target_revision.directory #=> String
|
2421
|
+
# resp.latest_successful_sync.target_revision.repository_name #=> String
|
2422
|
+
# resp.latest_successful_sync.target_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2423
|
+
# resp.latest_successful_sync.target_revision.sha #=> String
|
2424
|
+
# resp.latest_sync.events #=> Array
|
2425
|
+
# resp.latest_sync.events[0].event #=> String
|
2426
|
+
# resp.latest_sync.events[0].external_id #=> String
|
2427
|
+
# resp.latest_sync.events[0].time #=> Time
|
2428
|
+
# resp.latest_sync.events[0].type #=> String
|
2429
|
+
# resp.latest_sync.initial_revision.branch #=> String
|
2430
|
+
# resp.latest_sync.initial_revision.directory #=> String
|
2431
|
+
# resp.latest_sync.initial_revision.repository_name #=> String
|
2432
|
+
# resp.latest_sync.initial_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2433
|
+
# resp.latest_sync.initial_revision.sha #=> String
|
2434
|
+
# resp.latest_sync.started_at #=> Time
|
2435
|
+
# resp.latest_sync.status #=> String, one of "INITIATED", "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
2436
|
+
# resp.latest_sync.target #=> String
|
2437
|
+
# resp.latest_sync.target_revision.branch #=> String
|
2438
|
+
# resp.latest_sync.target_revision.directory #=> String
|
2439
|
+
# resp.latest_sync.target_revision.repository_name #=> String
|
2440
|
+
# resp.latest_sync.target_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2441
|
+
# resp.latest_sync.target_revision.sha #=> String
|
2442
|
+
#
|
2443
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetTemplateSyncStatus AWS API Documentation
|
2444
|
+
#
|
2445
|
+
# @overload get_template_sync_status(params = {})
|
2446
|
+
# @param [Hash] params ({})
|
2447
|
+
def get_template_sync_status(params = {}, options = {})
|
2448
|
+
req = build_request(:get_template_sync_status, params)
|
2449
|
+
req.send_request(options)
|
2450
|
+
end
|
2451
|
+
|
1982
2452
|
# View a list of environment account connections.
|
1983
2453
|
#
|
1984
2454
|
# For more information, see [Environment account connections][1] in the
|
1985
|
-
# *
|
2455
|
+
# *Proton Administrator guide*.
|
1986
2456
|
#
|
1987
2457
|
#
|
1988
2458
|
#
|
@@ -2047,15 +2517,97 @@ module Aws::Proton
|
|
2047
2517
|
req.send_request(options)
|
2048
2518
|
end
|
2049
2519
|
|
2520
|
+
# List the infrastructure as code outputs for your environment.
|
2521
|
+
#
|
2522
|
+
# @option params [required, String] :environment_name
|
2523
|
+
# The environment name.
|
2524
|
+
#
|
2525
|
+
# @option params [String] :next_token
|
2526
|
+
# A token to indicate the location of the next environment output in the
|
2527
|
+
# array of environment outputs, after the list of environment outputs
|
2528
|
+
# that was previously requested.
|
2529
|
+
#
|
2530
|
+
# @return [Types::ListEnvironmentOutputsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2531
|
+
#
|
2532
|
+
# * {Types::ListEnvironmentOutputsOutput#next_token #next_token} => String
|
2533
|
+
# * {Types::ListEnvironmentOutputsOutput#outputs #outputs} => Array<Types::Output>
|
2534
|
+
#
|
2535
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2536
|
+
#
|
2537
|
+
# @example Request syntax with placeholder values
|
2538
|
+
#
|
2539
|
+
# resp = client.list_environment_outputs({
|
2540
|
+
# environment_name: "ResourceName", # required
|
2541
|
+
# next_token: "EmptyNextToken",
|
2542
|
+
# })
|
2543
|
+
#
|
2544
|
+
# @example Response structure
|
2545
|
+
#
|
2546
|
+
# resp.next_token #=> String
|
2547
|
+
# resp.outputs #=> Array
|
2548
|
+
# resp.outputs[0].key #=> String
|
2549
|
+
# resp.outputs[0].value_string #=> String
|
2550
|
+
#
|
2551
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentOutputs AWS API Documentation
|
2552
|
+
#
|
2553
|
+
# @overload list_environment_outputs(params = {})
|
2554
|
+
# @param [Hash] params ({})
|
2555
|
+
def list_environment_outputs(params = {}, options = {})
|
2556
|
+
req = build_request(:list_environment_outputs, params)
|
2557
|
+
req.send_request(options)
|
2558
|
+
end
|
2559
|
+
|
2560
|
+
# List the provisioned resources for your environment.
|
2561
|
+
#
|
2562
|
+
# @option params [required, String] :environment_name
|
2563
|
+
# The environment name.
|
2564
|
+
#
|
2565
|
+
# @option params [String] :next_token
|
2566
|
+
# A token to indicate the location of the next environment provisioned
|
2567
|
+
# resource in the array of environment provisioned resources, after the
|
2568
|
+
# list of environment provisioned resources that was previously
|
2569
|
+
# requested.
|
2570
|
+
#
|
2571
|
+
# @return [Types::ListEnvironmentProvisionedResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2572
|
+
#
|
2573
|
+
# * {Types::ListEnvironmentProvisionedResourcesOutput#next_token #next_token} => String
|
2574
|
+
# * {Types::ListEnvironmentProvisionedResourcesOutput#provisioned_resources #provisioned_resources} => Array<Types::ProvisionedResource>
|
2575
|
+
#
|
2576
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2577
|
+
#
|
2578
|
+
# @example Request syntax with placeholder values
|
2579
|
+
#
|
2580
|
+
# resp = client.list_environment_provisioned_resources({
|
2581
|
+
# environment_name: "ResourceName", # required
|
2582
|
+
# next_token: "EmptyNextToken",
|
2583
|
+
# })
|
2584
|
+
#
|
2585
|
+
# @example Response structure
|
2586
|
+
#
|
2587
|
+
# resp.next_token #=> String
|
2588
|
+
# resp.provisioned_resources #=> Array
|
2589
|
+
# resp.provisioned_resources[0].identifier #=> String
|
2590
|
+
# resp.provisioned_resources[0].name #=> String
|
2591
|
+
# resp.provisioned_resources[0].provisioning_engine #=> String, one of "CLOUDFORMATION", "TERRAFORM"
|
2592
|
+
#
|
2593
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentProvisionedResources AWS API Documentation
|
2594
|
+
#
|
2595
|
+
# @overload list_environment_provisioned_resources(params = {})
|
2596
|
+
# @param [Hash] params ({})
|
2597
|
+
def list_environment_provisioned_resources(params = {}, options = {})
|
2598
|
+
req = build_request(:list_environment_provisioned_resources, params)
|
2599
|
+
req.send_request(options)
|
2600
|
+
end
|
2601
|
+
|
2050
2602
|
# List major or minor versions of an environment template with detail
|
2051
2603
|
# data.
|
2052
2604
|
#
|
2053
2605
|
# @option params [String] :major_version
|
2054
2606
|
# To view a list of minor of versions under a major version of an
|
2055
|
-
# environment template, include `
|
2607
|
+
# environment template, include `major Version`.
|
2056
2608
|
#
|
2057
2609
|
# To view a list of major versions of an environment template, *exclude*
|
2058
|
-
# `
|
2610
|
+
# `major Version`.
|
2059
2611
|
#
|
2060
2612
|
# @option params [Integer] :max_results
|
2061
2613
|
# The maximum number of major or minor versions of an environment
|
@@ -2217,6 +2769,185 @@ module Aws::Proton
|
|
2217
2769
|
req.send_request(options)
|
2218
2770
|
end
|
2219
2771
|
|
2772
|
+
# List repositories with detail data.
|
2773
|
+
#
|
2774
|
+
# @option params [Integer] :max_results
|
2775
|
+
# The maximum number of repositories to list.
|
2776
|
+
#
|
2777
|
+
# @option params [String] :next_token
|
2778
|
+
# A token to indicate the location of the next repository in the array
|
2779
|
+
# of repositories, after the list of repositories previously requested.
|
2780
|
+
#
|
2781
|
+
# @return [Types::ListRepositoriesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2782
|
+
#
|
2783
|
+
# * {Types::ListRepositoriesOutput#next_token #next_token} => String
|
2784
|
+
# * {Types::ListRepositoriesOutput#repositories #repositories} => Array<Types::RepositorySummary>
|
2785
|
+
#
|
2786
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2787
|
+
#
|
2788
|
+
# @example Request syntax with placeholder values
|
2789
|
+
#
|
2790
|
+
# resp = client.list_repositories({
|
2791
|
+
# max_results: 1,
|
2792
|
+
# next_token: "NextToken",
|
2793
|
+
# })
|
2794
|
+
#
|
2795
|
+
# @example Response structure
|
2796
|
+
#
|
2797
|
+
# resp.next_token #=> String
|
2798
|
+
# resp.repositories #=> Array
|
2799
|
+
# resp.repositories[0].arn #=> String
|
2800
|
+
# resp.repositories[0].name #=> String
|
2801
|
+
# resp.repositories[0].provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2802
|
+
#
|
2803
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListRepositories AWS API Documentation
|
2804
|
+
#
|
2805
|
+
# @overload list_repositories(params = {})
|
2806
|
+
# @param [Hash] params ({})
|
2807
|
+
def list_repositories(params = {}, options = {})
|
2808
|
+
req = build_request(:list_repositories, params)
|
2809
|
+
req.send_request(options)
|
2810
|
+
end
|
2811
|
+
|
2812
|
+
# List repository sync definitions with detail data.
|
2813
|
+
#
|
2814
|
+
# @option params [String] :next_token
|
2815
|
+
# A token to indicate the location of the next repository sync
|
2816
|
+
# definition in the array of repository sync definitions, after the list
|
2817
|
+
# of repository sync definitions previously requested.
|
2818
|
+
#
|
2819
|
+
# @option params [required, String] :repository_name
|
2820
|
+
# The repository name.
|
2821
|
+
#
|
2822
|
+
# @option params [required, String] :repository_provider
|
2823
|
+
# The repository provider.
|
2824
|
+
#
|
2825
|
+
# @option params [required, String] :sync_type
|
2826
|
+
# The sync type. The only supported value is `TEMPLATE_SYNC`.
|
2827
|
+
#
|
2828
|
+
# @return [Types::ListRepositorySyncDefinitionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2829
|
+
#
|
2830
|
+
# * {Types::ListRepositorySyncDefinitionsOutput#next_token #next_token} => String
|
2831
|
+
# * {Types::ListRepositorySyncDefinitionsOutput#sync_definitions #sync_definitions} => Array<Types::RepositorySyncDefinition>
|
2832
|
+
#
|
2833
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2834
|
+
#
|
2835
|
+
# @example Request syntax with placeholder values
|
2836
|
+
#
|
2837
|
+
# resp = client.list_repository_sync_definitions({
|
2838
|
+
# next_token: "EmptyNextToken",
|
2839
|
+
# repository_name: "RepositoryName", # required
|
2840
|
+
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
2841
|
+
# sync_type: "TEMPLATE_SYNC", # required, accepts TEMPLATE_SYNC
|
2842
|
+
# })
|
2843
|
+
#
|
2844
|
+
# @example Response structure
|
2845
|
+
#
|
2846
|
+
# resp.next_token #=> String
|
2847
|
+
# resp.sync_definitions #=> Array
|
2848
|
+
# resp.sync_definitions[0].branch #=> String
|
2849
|
+
# resp.sync_definitions[0].directory #=> String
|
2850
|
+
# resp.sync_definitions[0].parent #=> String
|
2851
|
+
# resp.sync_definitions[0].target #=> String
|
2852
|
+
#
|
2853
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListRepositorySyncDefinitions AWS API Documentation
|
2854
|
+
#
|
2855
|
+
# @overload list_repository_sync_definitions(params = {})
|
2856
|
+
# @param [Hash] params ({})
|
2857
|
+
def list_repository_sync_definitions(params = {}, options = {})
|
2858
|
+
req = build_request(:list_repository_sync_definitions, params)
|
2859
|
+
req.send_request(options)
|
2860
|
+
end
|
2861
|
+
|
2862
|
+
# View a list service instance infrastructure as code outputs with
|
2863
|
+
# detail data.
|
2864
|
+
#
|
2865
|
+
# @option params [String] :next_token
|
2866
|
+
# A token to indicate the location of the next output in the array of
|
2867
|
+
# outputs, after the list of outputs that was previously requested.
|
2868
|
+
#
|
2869
|
+
# @option params [required, String] :service_instance_name
|
2870
|
+
# The service instance name.
|
2871
|
+
#
|
2872
|
+
# @option params [required, String] :service_name
|
2873
|
+
# The service name.
|
2874
|
+
#
|
2875
|
+
# @return [Types::ListServiceInstanceOutputsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2876
|
+
#
|
2877
|
+
# * {Types::ListServiceInstanceOutputsOutput#next_token #next_token} => String
|
2878
|
+
# * {Types::ListServiceInstanceOutputsOutput#outputs #outputs} => Array<Types::Output>
|
2879
|
+
#
|
2880
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2881
|
+
#
|
2882
|
+
# @example Request syntax with placeholder values
|
2883
|
+
#
|
2884
|
+
# resp = client.list_service_instance_outputs({
|
2885
|
+
# next_token: "EmptyNextToken",
|
2886
|
+
# service_instance_name: "ResourceName", # required
|
2887
|
+
# service_name: "ResourceName", # required
|
2888
|
+
# })
|
2889
|
+
#
|
2890
|
+
# @example Response structure
|
2891
|
+
#
|
2892
|
+
# resp.next_token #=> String
|
2893
|
+
# resp.outputs #=> Array
|
2894
|
+
# resp.outputs[0].key #=> String
|
2895
|
+
# resp.outputs[0].value_string #=> String
|
2896
|
+
#
|
2897
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceInstanceOutputs AWS API Documentation
|
2898
|
+
#
|
2899
|
+
# @overload list_service_instance_outputs(params = {})
|
2900
|
+
# @param [Hash] params ({})
|
2901
|
+
def list_service_instance_outputs(params = {}, options = {})
|
2902
|
+
req = build_request(:list_service_instance_outputs, params)
|
2903
|
+
req.send_request(options)
|
2904
|
+
end
|
2905
|
+
|
2906
|
+
# List provisioned resources for a service instance with details.
|
2907
|
+
#
|
2908
|
+
# @option params [String] :next_token
|
2909
|
+
# A token to indicate the location of the next provisioned resource in
|
2910
|
+
# the array of provisioned resources, after the list of provisioned
|
2911
|
+
# resources that was previously requested.
|
2912
|
+
#
|
2913
|
+
# @option params [required, String] :service_instance_name
|
2914
|
+
# The service instance name.
|
2915
|
+
#
|
2916
|
+
# @option params [required, String] :service_name
|
2917
|
+
# The service name.
|
2918
|
+
#
|
2919
|
+
# @return [Types::ListServiceInstanceProvisionedResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2920
|
+
#
|
2921
|
+
# * {Types::ListServiceInstanceProvisionedResourcesOutput#next_token #next_token} => String
|
2922
|
+
# * {Types::ListServiceInstanceProvisionedResourcesOutput#provisioned_resources #provisioned_resources} => Array<Types::ProvisionedResource>
|
2923
|
+
#
|
2924
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2925
|
+
#
|
2926
|
+
# @example Request syntax with placeholder values
|
2927
|
+
#
|
2928
|
+
# resp = client.list_service_instance_provisioned_resources({
|
2929
|
+
# next_token: "EmptyNextToken",
|
2930
|
+
# service_instance_name: "ResourceName", # required
|
2931
|
+
# service_name: "ResourceName", # required
|
2932
|
+
# })
|
2933
|
+
#
|
2934
|
+
# @example Response structure
|
2935
|
+
#
|
2936
|
+
# resp.next_token #=> String
|
2937
|
+
# resp.provisioned_resources #=> Array
|
2938
|
+
# resp.provisioned_resources[0].identifier #=> String
|
2939
|
+
# resp.provisioned_resources[0].name #=> String
|
2940
|
+
# resp.provisioned_resources[0].provisioning_engine #=> String, one of "CLOUDFORMATION", "TERRAFORM"
|
2941
|
+
#
|
2942
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceInstanceProvisionedResources AWS API Documentation
|
2943
|
+
#
|
2944
|
+
# @overload list_service_instance_provisioned_resources(params = {})
|
2945
|
+
# @param [Hash] params ({})
|
2946
|
+
def list_service_instance_provisioned_resources(params = {}, options = {})
|
2947
|
+
req = build_request(:list_service_instance_provisioned_resources, params)
|
2948
|
+
req.send_request(options)
|
2949
|
+
end
|
2950
|
+
|
2220
2951
|
# List service instances with summaries of detail data.
|
2221
2952
|
#
|
2222
2953
|
# @option params [Integer] :max_results
|
@@ -2271,14 +3002,95 @@ module Aws::Proton
|
|
2271
3002
|
req.send_request(options)
|
2272
3003
|
end
|
2273
3004
|
|
3005
|
+
# View a list service pipeline infrastructure as code outputs with
|
3006
|
+
# detail.
|
3007
|
+
#
|
3008
|
+
# @option params [String] :next_token
|
3009
|
+
# A token to indicate the location of the next output in the array of
|
3010
|
+
# outputs, after the list of outputs that was previously requested.
|
3011
|
+
#
|
3012
|
+
# @option params [required, String] :service_name
|
3013
|
+
# The service name.
|
3014
|
+
#
|
3015
|
+
# @return [Types::ListServicePipelineOutputsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3016
|
+
#
|
3017
|
+
# * {Types::ListServicePipelineOutputsOutput#next_token #next_token} => String
|
3018
|
+
# * {Types::ListServicePipelineOutputsOutput#outputs #outputs} => Array<Types::Output>
|
3019
|
+
#
|
3020
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3021
|
+
#
|
3022
|
+
# @example Request syntax with placeholder values
|
3023
|
+
#
|
3024
|
+
# resp = client.list_service_pipeline_outputs({
|
3025
|
+
# next_token: "EmptyNextToken",
|
3026
|
+
# service_name: "ResourceName", # required
|
3027
|
+
# })
|
3028
|
+
#
|
3029
|
+
# @example Response structure
|
3030
|
+
#
|
3031
|
+
# resp.next_token #=> String
|
3032
|
+
# resp.outputs #=> Array
|
3033
|
+
# resp.outputs[0].key #=> String
|
3034
|
+
# resp.outputs[0].value_string #=> String
|
3035
|
+
#
|
3036
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServicePipelineOutputs AWS API Documentation
|
3037
|
+
#
|
3038
|
+
# @overload list_service_pipeline_outputs(params = {})
|
3039
|
+
# @param [Hash] params ({})
|
3040
|
+
def list_service_pipeline_outputs(params = {}, options = {})
|
3041
|
+
req = build_request(:list_service_pipeline_outputs, params)
|
3042
|
+
req.send_request(options)
|
3043
|
+
end
|
3044
|
+
|
3045
|
+
# List provisioned resources for a service and pipeline with details.
|
3046
|
+
#
|
3047
|
+
# @option params [String] :next_token
|
3048
|
+
# A token to indicate the location of the next provisioned resource in
|
3049
|
+
# the array of provisioned resources, after the list of provisioned
|
3050
|
+
# resources that was previously requested.
|
3051
|
+
#
|
3052
|
+
# @option params [required, String] :service_name
|
3053
|
+
# The service name.
|
3054
|
+
#
|
3055
|
+
# @return [Types::ListServicePipelineProvisionedResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3056
|
+
#
|
3057
|
+
# * {Types::ListServicePipelineProvisionedResourcesOutput#next_token #next_token} => String
|
3058
|
+
# * {Types::ListServicePipelineProvisionedResourcesOutput#provisioned_resources #provisioned_resources} => Array<Types::ProvisionedResource>
|
3059
|
+
#
|
3060
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3061
|
+
#
|
3062
|
+
# @example Request syntax with placeholder values
|
3063
|
+
#
|
3064
|
+
# resp = client.list_service_pipeline_provisioned_resources({
|
3065
|
+
# next_token: "EmptyNextToken",
|
3066
|
+
# service_name: "ResourceName", # required
|
3067
|
+
# })
|
3068
|
+
#
|
3069
|
+
# @example Response structure
|
3070
|
+
#
|
3071
|
+
# resp.next_token #=> String
|
3072
|
+
# resp.provisioned_resources #=> Array
|
3073
|
+
# resp.provisioned_resources[0].identifier #=> String
|
3074
|
+
# resp.provisioned_resources[0].name #=> String
|
3075
|
+
# resp.provisioned_resources[0].provisioning_engine #=> String, one of "CLOUDFORMATION", "TERRAFORM"
|
3076
|
+
#
|
3077
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServicePipelineProvisionedResources AWS API Documentation
|
3078
|
+
#
|
3079
|
+
# @overload list_service_pipeline_provisioned_resources(params = {})
|
3080
|
+
# @param [Hash] params ({})
|
3081
|
+
def list_service_pipeline_provisioned_resources(params = {}, options = {})
|
3082
|
+
req = build_request(:list_service_pipeline_provisioned_resources, params)
|
3083
|
+
req.send_request(options)
|
3084
|
+
end
|
3085
|
+
|
2274
3086
|
# List major or minor versions of a service template with detail data.
|
2275
3087
|
#
|
2276
3088
|
# @option params [String] :major_version
|
2277
3089
|
# To view a list of minor of versions under a major version of a service
|
2278
|
-
# template, include `
|
3090
|
+
# template, include `major Version`.
|
2279
3091
|
#
|
2280
3092
|
# To view a list of major versions of a service template, *exclude*
|
2281
|
-
# `
|
3093
|
+
# `major Version`.
|
2282
3094
|
#
|
2283
3095
|
# @option params [Integer] :max_results
|
2284
3096
|
# The maximum number of major or minor versions of a service template to
|
@@ -2423,9 +3235,9 @@ module Aws::Proton
|
|
2423
3235
|
req.send_request(options)
|
2424
3236
|
end
|
2425
3237
|
|
2426
|
-
# List tags for a resource. For more information, see *
|
2427
|
-
#
|
2428
|
-
#
|
3238
|
+
# List tags for a resource. For more information, see *Proton resources
|
3239
|
+
# and tagging* in the [Proton Administrator Guide][1] or [Proton User
|
3240
|
+
# Guide][2].
|
2429
3241
|
#
|
2430
3242
|
#
|
2431
3243
|
#
|
@@ -2474,6 +3286,62 @@ module Aws::Proton
|
|
2474
3286
|
req.send_request(options)
|
2475
3287
|
end
|
2476
3288
|
|
3289
|
+
# Notify Proton of status changes to a provisioned resource when you use
|
3290
|
+
# pull request provisioning. For more information, see [Template
|
3291
|
+
# bundles][1].
|
3292
|
+
#
|
3293
|
+
# Provisioning by pull request is currently in feature preview and is
|
3294
|
+
# only usable with Terraform based Proton Templates. To learn more about
|
3295
|
+
# [Amazon Web Services Feature Preview terms][2], see section 2 on Beta
|
3296
|
+
# and Previews.
|
3297
|
+
#
|
3298
|
+
#
|
3299
|
+
#
|
3300
|
+
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-bundles.html
|
3301
|
+
# [2]: https://aws.amazon.com/service-terms
|
3302
|
+
#
|
3303
|
+
# @option params [String] :deployment_id
|
3304
|
+
# The deployment ID for your provisioned resource.
|
3305
|
+
#
|
3306
|
+
# @option params [Array<Types::Output>] :outputs
|
3307
|
+
# The provisioned resource state change detail data that's returned by
|
3308
|
+
# Proton.
|
3309
|
+
#
|
3310
|
+
# @option params [required, String] :resource_arn
|
3311
|
+
# The provisioned resource Amazon Resource Name (ARN).
|
3312
|
+
#
|
3313
|
+
# @option params [required, String] :status
|
3314
|
+
# The status of your provisioned resource.
|
3315
|
+
#
|
3316
|
+
# @option params [String] :status_message
|
3317
|
+
# The deployment status message for your provisioned resource.
|
3318
|
+
#
|
3319
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3320
|
+
#
|
3321
|
+
# @example Request syntax with placeholder values
|
3322
|
+
#
|
3323
|
+
# resp = client.notify_resource_deployment_status_change({
|
3324
|
+
# deployment_id: "DeploymentId",
|
3325
|
+
# outputs: [
|
3326
|
+
# {
|
3327
|
+
# key: "OutputKey",
|
3328
|
+
# value_string: "OutputValueString",
|
3329
|
+
# },
|
3330
|
+
# ],
|
3331
|
+
# resource_arn: "Arn", # required
|
3332
|
+
# status: "IN_PROGRESS", # required, accepts IN_PROGRESS, FAILED, SUCCEEDED
|
3333
|
+
# status_message: "SyntheticNotifyResourceDeploymentStatusChangeInputString",
|
3334
|
+
# })
|
3335
|
+
#
|
3336
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/NotifyResourceDeploymentStatusChange AWS API Documentation
|
3337
|
+
#
|
3338
|
+
# @overload notify_resource_deployment_status_change(params = {})
|
3339
|
+
# @param [Hash] params ({})
|
3340
|
+
def notify_resource_deployment_status_change(params = {}, options = {})
|
3341
|
+
req = build_request(:notify_resource_deployment_status_change, params)
|
3342
|
+
req.send_request(options)
|
3343
|
+
end
|
3344
|
+
|
2477
3345
|
# In a management account, reject an environment account connection from
|
2478
3346
|
# another environment account.
|
2479
3347
|
#
|
@@ -2485,7 +3353,7 @@ module Aws::Proton
|
|
2485
3353
|
# to an environment.
|
2486
3354
|
#
|
2487
3355
|
# For more information, see [Environment account connections][1] in the
|
2488
|
-
# *
|
3356
|
+
# *Proton Administrator guide*.
|
2489
3357
|
#
|
2490
3358
|
#
|
2491
3359
|
#
|
@@ -2525,9 +3393,9 @@ module Aws::Proton
|
|
2525
3393
|
req.send_request(options)
|
2526
3394
|
end
|
2527
3395
|
|
2528
|
-
# Tag a resource. For more information, see *
|
2529
|
-
# tagging* in the [
|
2530
|
-
#
|
3396
|
+
# Tag a resource. For more information, see *Proton resources and
|
3397
|
+
# tagging* in the [Proton Administrator Guide][1] or [Proton User
|
3398
|
+
# Guide][2].
|
2531
3399
|
#
|
2532
3400
|
#
|
2533
3401
|
#
|
@@ -2564,9 +3432,9 @@ module Aws::Proton
|
|
2564
3432
|
req.send_request(options)
|
2565
3433
|
end
|
2566
3434
|
|
2567
|
-
# Remove a tag from a resource. For more information, see *
|
2568
|
-
# resources and tagging* in the [
|
2569
|
-
# [
|
3435
|
+
# Remove a tag from a resource. For more information, see *Proton
|
3436
|
+
# resources and tagging* in the [Proton Administrator Guide][1] or
|
3437
|
+
# [Proton User Guide][2].
|
2570
3438
|
#
|
2571
3439
|
#
|
2572
3440
|
#
|
@@ -2599,11 +3467,31 @@ module Aws::Proton
|
|
2599
3467
|
req.send_request(options)
|
2600
3468
|
end
|
2601
3469
|
|
2602
|
-
# Update the
|
3470
|
+
# Update the Proton service pipeline role or repository settings.
|
3471
|
+
#
|
3472
|
+
# @option params [Types::RepositoryBranchInput] :pipeline_provisioning_repository
|
3473
|
+
# The repository that you provide with pull request provisioning.
|
3474
|
+
#
|
3475
|
+
# Provisioning by pull request is currently in feature preview and is
|
3476
|
+
# only usable with Terraform based Proton Templates. To learn more about
|
3477
|
+
# [Amazon Web Services Feature Preview terms][1], see section 2 on Beta
|
3478
|
+
# and Previews.
|
3479
|
+
#
|
3480
|
+
#
|
3481
|
+
#
|
3482
|
+
# [1]: https://aws.amazon.com/service-terms
|
2603
3483
|
#
|
2604
3484
|
# @option params [String] :pipeline_service_role_arn
|
2605
|
-
# The Amazon Resource Name (ARN) of the
|
2606
|
-
#
|
3485
|
+
# The Amazon Resource Name (ARN) of the Proton pipeline service role.
|
3486
|
+
#
|
3487
|
+
# Provisioning by pull request is currently in feature preview and is
|
3488
|
+
# only usable with Terraform based Proton Templates. To learn more about
|
3489
|
+
# [Amazon Web Services Feature Preview terms][1], see section 2 on Beta
|
3490
|
+
# and Previews.
|
3491
|
+
#
|
3492
|
+
#
|
3493
|
+
#
|
3494
|
+
# [1]: https://aws.amazon.com/service-terms
|
2607
3495
|
#
|
2608
3496
|
# @return [Types::UpdateAccountSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2609
3497
|
#
|
@@ -2612,11 +3500,20 @@ module Aws::Proton
|
|
2612
3500
|
# @example Request syntax with placeholder values
|
2613
3501
|
#
|
2614
3502
|
# resp = client.update_account_settings({
|
2615
|
-
#
|
3503
|
+
# pipeline_provisioning_repository: {
|
3504
|
+
# branch: "GitBranchName", # required
|
3505
|
+
# name: "RepositoryName", # required
|
3506
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
3507
|
+
# },
|
3508
|
+
# pipeline_service_role_arn: "PipelineRoleArn",
|
2616
3509
|
# })
|
2617
3510
|
#
|
2618
3511
|
# @example Response structure
|
2619
3512
|
#
|
3513
|
+
# resp.account_settings.pipeline_provisioning_repository.arn #=> String
|
3514
|
+
# resp.account_settings.pipeline_provisioning_repository.branch #=> String
|
3515
|
+
# resp.account_settings.pipeline_provisioning_repository.name #=> String
|
3516
|
+
# resp.account_settings.pipeline_provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2620
3517
|
# resp.account_settings.pipeline_service_role_arn #=> String
|
2621
3518
|
#
|
2622
3519
|
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateAccountSettings AWS API Documentation
|
@@ -2631,8 +3528,9 @@ module Aws::Proton
|
|
2631
3528
|
# Update an environment.
|
2632
3529
|
#
|
2633
3530
|
# 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
|
3531
|
+
# connection, *don't* update or include the `protonServiceRoleArn` and
|
3532
|
+
# `provisioningRepository` parameter to update or connect to an
|
3533
|
+
# environment account connection.
|
2636
3534
|
#
|
2637
3535
|
# You can only update to a new environment account connection if it was
|
2638
3536
|
# created in the same environment account that the current environment
|
@@ -2647,6 +3545,14 @@ module Aws::Proton
|
|
2647
3545
|
# You can update either the `environmentAccountConnectionId` or
|
2648
3546
|
# `protonServiceRoleArn` parameter and value. You can’t update both.
|
2649
3547
|
#
|
3548
|
+
# If the environment was provisioned with pull request provisioning,
|
3549
|
+
# include the `provisioningRepository` parameter and omit the
|
3550
|
+
# `protonServiceRoleArn` and `environmentAccountConnectionId`
|
3551
|
+
# parameters.
|
3552
|
+
#
|
3553
|
+
# If the environment wasn't provisioned with pull request provisioning,
|
3554
|
+
# omit the `provisioningRepository` parameter.
|
3555
|
+
#
|
2650
3556
|
# There are four modes for updating an environment as described in the
|
2651
3557
|
# following. The `deploymentType` field defines the mode.
|
2652
3558
|
#
|
@@ -2739,17 +3645,29 @@ module Aws::Proton
|
|
2739
3645
|
# The name of the environment to update.
|
2740
3646
|
#
|
2741
3647
|
# @option params [String] :proton_service_role_arn
|
2742
|
-
# The Amazon Resource Name (ARN) of the
|
2743
|
-
#
|
3648
|
+
# The Amazon Resource Name (ARN) of the Proton service role that allows
|
3649
|
+
# Proton to make API calls to other services your behalf.
|
3650
|
+
#
|
3651
|
+
# @option params [Types::RepositoryBranchInput] :provisioning_repository
|
3652
|
+
# The repository that you provide with pull request provisioning.
|
3653
|
+
#
|
3654
|
+
# Provisioning by pull request is currently in feature preview and is
|
3655
|
+
# only usable with Terraform based Proton Templates. To learn more about
|
3656
|
+
# [Amazon Web Services Feature Preview terms][1], see section 2 on Beta
|
3657
|
+
# and Previews.
|
3658
|
+
#
|
3659
|
+
#
|
3660
|
+
#
|
3661
|
+
# [1]: https://aws.amazon.com/service-terms
|
2744
3662
|
#
|
2745
3663
|
# @option params [String] :spec
|
2746
3664
|
# The formatted specification that defines the update.
|
2747
3665
|
#
|
2748
3666
|
# @option params [String] :template_major_version
|
2749
|
-
# The
|
3667
|
+
# The major version of the environment to update.
|
2750
3668
|
#
|
2751
3669
|
# @option params [String] :template_minor_version
|
2752
|
-
# The
|
3670
|
+
# The minor version of the environment to update.
|
2753
3671
|
#
|
2754
3672
|
# @return [Types::UpdateEnvironmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2755
3673
|
#
|
@@ -2763,6 +3681,11 @@ module Aws::Proton
|
|
2763
3681
|
# environment_account_connection_id: "EnvironmentAccountConnectionId",
|
2764
3682
|
# name: "ResourceName", # required
|
2765
3683
|
# proton_service_role_arn: "Arn",
|
3684
|
+
# provisioning_repository: {
|
3685
|
+
# branch: "GitBranchName", # required
|
3686
|
+
# name: "RepositoryName", # required
|
3687
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
3688
|
+
# },
|
2766
3689
|
# spec: "SpecContents",
|
2767
3690
|
# template_major_version: "TemplateVersionPart",
|
2768
3691
|
# template_minor_version: "TemplateVersionPart",
|
@@ -2782,6 +3705,10 @@ module Aws::Proton
|
|
2782
3705
|
# resp.environment.name #=> String
|
2783
3706
|
# resp.environment.proton_service_role_arn #=> String
|
2784
3707
|
# resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
|
3708
|
+
# resp.environment.provisioning_repository.arn #=> String
|
3709
|
+
# resp.environment.provisioning_repository.branch #=> String
|
3710
|
+
# resp.environment.provisioning_repository.name #=> String
|
3711
|
+
# resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2785
3712
|
# resp.environment.spec #=> String
|
2786
3713
|
# resp.environment.template_major_version #=> String
|
2787
3714
|
# resp.environment.template_minor_version #=> String
|
@@ -2800,7 +3727,7 @@ module Aws::Proton
|
|
2800
3727
|
# use a new IAM role.
|
2801
3728
|
#
|
2802
3729
|
# For more information, see [Environment account connections][1] in the
|
2803
|
-
# *
|
3730
|
+
# *Proton Administrator guide*.
|
2804
3731
|
#
|
2805
3732
|
#
|
2806
3733
|
#
|
@@ -2896,8 +3823,8 @@ module Aws::Proton
|
|
2896
3823
|
# A description of environment template version to update.
|
2897
3824
|
#
|
2898
3825
|
# @option params [required, String] :major_version
|
2899
|
-
# To update a major version of an environment template, include
|
2900
|
-
#
|
3826
|
+
# To update a major version of an environment template, include `major
|
3827
|
+
# Version`.
|
2901
3828
|
#
|
2902
3829
|
# @option params [required, String] :minor_version
|
2903
3830
|
# To update a minor version of an environment template, include
|
@@ -2968,8 +3895,8 @@ module Aws::Proton
|
|
2968
3895
|
# Lists the service instances to add and the existing service instances
|
2969
3896
|
# to remain. Omit the existing service instances to delete from the
|
2970
3897
|
# list. *Don't* include edits to the existing service instances or
|
2971
|
-
# pipeline. For more information, see *Edit a service* in the [
|
2972
|
-
#
|
3898
|
+
# pipeline. For more information, see *Edit a service* in the [Proton
|
3899
|
+
# Administrator Guide][1] or the [Proton User Guide][2].
|
2973
3900
|
#
|
2974
3901
|
#
|
2975
3902
|
#
|
@@ -3344,8 +4271,8 @@ module Aws::Proton
|
|
3344
4271
|
# A description of a service template version to update.
|
3345
4272
|
#
|
3346
4273
|
# @option params [required, String] :major_version
|
3347
|
-
# To update a major version of a service template, include
|
3348
|
-
#
|
4274
|
+
# To update a major version of a service template, include `major
|
4275
|
+
# Version`.
|
3349
4276
|
#
|
3350
4277
|
# @option params [required, String] :minor_version
|
3351
4278
|
# To update a minor version of a service template, include
|
@@ -3403,6 +4330,61 @@ module Aws::Proton
|
|
3403
4330
|
req.send_request(options)
|
3404
4331
|
end
|
3405
4332
|
|
4333
|
+
# Update template sync configuration parameters, except for the
|
4334
|
+
# `templateName` and `templateType`.
|
4335
|
+
#
|
4336
|
+
# @option params [required, String] :branch
|
4337
|
+
# The repository branch.
|
4338
|
+
#
|
4339
|
+
# @option params [required, String] :repository_name
|
4340
|
+
# The name of the repository, for example `myrepos/myrepo`.
|
4341
|
+
#
|
4342
|
+
# @option params [required, String] :repository_provider
|
4343
|
+
# The repository provider.
|
4344
|
+
#
|
4345
|
+
# @option params [String] :subdirectory
|
4346
|
+
# A subdirectory path to your template bundle version. When included,
|
4347
|
+
# limits the template bundle search to this repository directory.
|
4348
|
+
#
|
4349
|
+
# @option params [required, String] :template_name
|
4350
|
+
# The synced template name.
|
4351
|
+
#
|
4352
|
+
# @option params [required, String] :template_type
|
4353
|
+
# The synced template type.
|
4354
|
+
#
|
4355
|
+
# @return [Types::UpdateTemplateSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4356
|
+
#
|
4357
|
+
# * {Types::UpdateTemplateSyncConfigOutput#template_sync_config #template_sync_config} => Types::TemplateSyncConfig
|
4358
|
+
#
|
4359
|
+
# @example Request syntax with placeholder values
|
4360
|
+
#
|
4361
|
+
# resp = client.update_template_sync_config({
|
4362
|
+
# branch: "GitBranchName", # required
|
4363
|
+
# repository_name: "RepositoryName", # required
|
4364
|
+
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
4365
|
+
# subdirectory: "Subdirectory",
|
4366
|
+
# template_name: "ResourceName", # required
|
4367
|
+
# template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
|
4368
|
+
# })
|
4369
|
+
#
|
4370
|
+
# @example Response structure
|
4371
|
+
#
|
4372
|
+
# resp.template_sync_config.branch #=> String
|
4373
|
+
# resp.template_sync_config.repository_name #=> String
|
4374
|
+
# resp.template_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
4375
|
+
# resp.template_sync_config.subdirectory #=> String
|
4376
|
+
# resp.template_sync_config.template_name #=> String
|
4377
|
+
# resp.template_sync_config.template_type #=> String, one of "ENVIRONMENT", "SERVICE"
|
4378
|
+
#
|
4379
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateTemplateSyncConfig AWS API Documentation
|
4380
|
+
#
|
4381
|
+
# @overload update_template_sync_config(params = {})
|
4382
|
+
# @param [Hash] params ({})
|
4383
|
+
def update_template_sync_config(params = {}, options = {})
|
4384
|
+
req = build_request(:update_template_sync_config, params)
|
4385
|
+
req.send_request(options)
|
4386
|
+
end
|
4387
|
+
|
3406
4388
|
# @!endgroup
|
3407
4389
|
|
3408
4390
|
# @param params ({})
|
@@ -3416,7 +4398,7 @@ module Aws::Proton
|
|
3416
4398
|
params: params,
|
3417
4399
|
config: config)
|
3418
4400
|
context[:gem_name] = 'aws-sdk-proton'
|
3419
|
-
context[:gem_version] = '1.
|
4401
|
+
context[:gem_version] = '1.11.0'
|
3420
4402
|
Seahorse::Client::Request.new(handlers, context)
|
3421
4403
|
end
|
3422
4404
|
|