aws-sdk-proton 1.9.0 → 1.10.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-proton/client.rb +1106 -135
- 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 +2 -2
@@ -348,11 +348,11 @@ module Aws::Proton
|
|
348
348
|
|
349
349
|
# In a management account, an environment account connection request is
|
350
350
|
# accepted. When the environment account connection request is accepted,
|
351
|
-
#
|
351
|
+
# Proton can use the associated IAM role to provision environment
|
352
352
|
# infrastructure resources in the associated environment account.
|
353
353
|
#
|
354
354
|
# For more information, see [Environment account connections][1] in the
|
355
|
-
# *
|
355
|
+
# *Proton Administrator guide*.
|
356
356
|
#
|
357
357
|
#
|
358
358
|
#
|
@@ -394,7 +394,7 @@ module Aws::Proton
|
|
394
394
|
|
395
395
|
# Attempts to cancel an environment deployment on an UpdateEnvironment
|
396
396
|
# action, if the deployment is `IN_PROGRESS`. For more information, see
|
397
|
-
# [Update an environment][1] in the *
|
397
|
+
# [Update an environment][1] in the *Proton Administrator guide*.
|
398
398
|
#
|
399
399
|
# The following list includes potential cancellation scenarios.
|
400
400
|
#
|
@@ -439,6 +439,10 @@ module Aws::Proton
|
|
439
439
|
# resp.environment.name #=> String
|
440
440
|
# resp.environment.proton_service_role_arn #=> String
|
441
441
|
# resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
|
442
|
+
# resp.environment.provisioning_repository.arn #=> String
|
443
|
+
# resp.environment.provisioning_repository.branch #=> String
|
444
|
+
# resp.environment.provisioning_repository.name #=> String
|
445
|
+
# resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
442
446
|
# resp.environment.spec #=> String
|
443
447
|
# resp.environment.template_major_version #=> String
|
444
448
|
# resp.environment.template_minor_version #=> String
|
@@ -455,8 +459,8 @@ module Aws::Proton
|
|
455
459
|
|
456
460
|
# Attempts to cancel a service instance deployment on an
|
457
461
|
# UpdateServiceInstance action, if the deployment is `IN_PROGRESS`. For
|
458
|
-
# more information, see *Update a service instance* in the [
|
459
|
-
# Administrator guide][1] or the [
|
462
|
+
# more information, see *Update a service instance* in the [Proton
|
463
|
+
# Administrator guide][1] or the [Proton User guide][2].
|
460
464
|
#
|
461
465
|
# The following list includes potential cancellation scenarios.
|
462
466
|
#
|
@@ -520,8 +524,8 @@ module Aws::Proton
|
|
520
524
|
|
521
525
|
# Attempts to cancel a service pipeline deployment on an
|
522
526
|
# UpdateServicePipeline action, if the deployment is `IN_PROGRESS`. For
|
523
|
-
# more information, see *Update a service pipeline* in the [
|
524
|
-
# Administrator guide][1] or the [
|
527
|
+
# more information, see *Update a service pipeline* in the [Proton
|
528
|
+
# Administrator guide][1] or the [Proton User guide][2].
|
525
529
|
#
|
526
530
|
# The following list includes potential cancellation scenarios.
|
527
531
|
#
|
@@ -576,10 +580,21 @@ module Aws::Proton
|
|
576
580
|
req.send_request(options)
|
577
581
|
end
|
578
582
|
|
579
|
-
# Deploy a new environment. An
|
583
|
+
# Deploy a new environment. An Proton environment is created from an
|
580
584
|
# environment template that defines infrastructure and resources that
|
581
|
-
# can be shared across services.
|
582
|
-
#
|
585
|
+
# can be shared across services.
|
586
|
+
#
|
587
|
+
# **You can provision environments using the following methods:**
|
588
|
+
#
|
589
|
+
# * Standard provisioning: Proton makes direct calls to provision your
|
590
|
+
# resources.
|
591
|
+
#
|
592
|
+
# * Pull request provisioning: Proton makes pull requests on your
|
593
|
+
# repository to provide compiled infrastructure as code (IaC) files
|
594
|
+
# that your IaC engine uses to provision resources.
|
595
|
+
#
|
596
|
+
# For more information, see the [Environments][1] in the *Proton
|
597
|
+
# Administrator Guide.*
|
583
598
|
#
|
584
599
|
#
|
585
600
|
#
|
@@ -593,8 +608,9 @@ module Aws::Proton
|
|
593
608
|
# you're provisioning your environment infrastructure resources to an
|
594
609
|
# environment account. You must include either the
|
595
610
|
# `environmentAccountConnectionId` or `protonServiceRoleArn` parameter
|
596
|
-
# and value
|
597
|
-
# connections][1] in the
|
611
|
+
# and value and omit the `provisioningRepository` parameter and values.
|
612
|
+
# For more information, see [Environment account connections][1] in the
|
613
|
+
# *Proton Administrator guide*.
|
598
614
|
#
|
599
615
|
#
|
600
616
|
#
|
@@ -604,24 +620,40 @@ module Aws::Proton
|
|
604
620
|
# The name of the environment.
|
605
621
|
#
|
606
622
|
# @option params [String] :proton_service_role_arn
|
607
|
-
# The Amazon Resource Name (ARN) of the
|
608
|
-
#
|
609
|
-
#
|
610
|
-
# `protonServiceRoleArn` parameter and value
|
623
|
+
# The Amazon Resource Name (ARN) of the Proton service role that allows
|
624
|
+
# Proton to make calls to other services on your behalf. You must
|
625
|
+
# include either the `environmentAccountConnectionId` or
|
626
|
+
# `protonServiceRoleArn` parameter and value and omit the
|
627
|
+
# `provisioningRepository` parameter when you use standard provisioning.
|
628
|
+
#
|
629
|
+
# @option params [Types::RepositoryBranchInput] :provisioning_repository
|
630
|
+
# The repository that you provide with pull request provisioning. If you
|
631
|
+
# provide this parameter, you must omit the
|
632
|
+
# `environmentAccountConnectionId` and `protonServiceRoleArn`
|
633
|
+
# parameters.
|
634
|
+
#
|
635
|
+
# Provisioning by pull request is currently in feature preview and is
|
636
|
+
# only usable with Terraform based Proton Templates. To learn more about
|
637
|
+
# [Amazon Web Services Feature Preview terms][1], see section 2 on Beta
|
638
|
+
# and Previews.
|
639
|
+
#
|
640
|
+
#
|
641
|
+
#
|
642
|
+
# [1]: https://aws.amazon.com/service-terms
|
611
643
|
#
|
612
644
|
# @option params [required, String] :spec
|
613
645
|
# A link to a YAML formatted spec file that provides inputs as defined
|
614
646
|
# in the environment template bundle schema file. For more information,
|
615
|
-
# see [Environments][1] in the *
|
647
|
+
# see [Environments][1] in the *Proton Administrator Guide*.
|
616
648
|
#
|
617
649
|
#
|
618
650
|
#
|
619
651
|
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-environments.html
|
620
652
|
#
|
621
653
|
# @option params [Array<Types::Tag>] :tags
|
622
|
-
# Create tags for your environment. For more information, see *
|
623
|
-
#
|
624
|
-
#
|
654
|
+
# Create tags for your environment. For more information, see *Proton
|
655
|
+
# resources and tagging* in the [Proton Administrator Guide][1] or
|
656
|
+
# [Proton User Guide][2].
|
625
657
|
#
|
626
658
|
#
|
627
659
|
#
|
@@ -629,14 +661,14 @@ module Aws::Proton
|
|
629
661
|
# [2]: https://docs.aws.amazon.com/proton/latest/userguide/resources.html
|
630
662
|
#
|
631
663
|
# @option params [required, String] :template_major_version
|
632
|
-
# The
|
664
|
+
# The major version of the environment template.
|
633
665
|
#
|
634
666
|
# @option params [String] :template_minor_version
|
635
|
-
# The
|
667
|
+
# The minor version of the environment template.
|
636
668
|
#
|
637
669
|
# @option params [required, String] :template_name
|
638
670
|
# The name of the environment template. For more information, see
|
639
|
-
# [Environment Templates][1] in the *
|
671
|
+
# [Environment Templates][1] in the *Proton Administrator Guide*.
|
640
672
|
#
|
641
673
|
#
|
642
674
|
#
|
@@ -653,6 +685,11 @@ module Aws::Proton
|
|
653
685
|
# environment_account_connection_id: "EnvironmentAccountConnectionId",
|
654
686
|
# name: "ResourceName", # required
|
655
687
|
# proton_service_role_arn: "Arn",
|
688
|
+
# provisioning_repository: {
|
689
|
+
# branch: "GitBranchName", # required
|
690
|
+
# name: "RepositoryName", # required
|
691
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
692
|
+
# },
|
656
693
|
# spec: "SpecContents", # required
|
657
694
|
# tags: [
|
658
695
|
# {
|
@@ -679,6 +716,10 @@ module Aws::Proton
|
|
679
716
|
# resp.environment.name #=> String
|
680
717
|
# resp.environment.proton_service_role_arn #=> String
|
681
718
|
# resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
|
719
|
+
# resp.environment.provisioning_repository.arn #=> String
|
720
|
+
# resp.environment.provisioning_repository.branch #=> String
|
721
|
+
# resp.environment.provisioning_repository.name #=> String
|
722
|
+
# resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
682
723
|
# resp.environment.spec #=> String
|
683
724
|
# resp.environment.template_major_version #=> String
|
684
725
|
# resp.environment.template_minor_version #=> String
|
@@ -700,38 +741,47 @@ module Aws::Proton
|
|
700
741
|
# An environment account connection is a secure bi-directional
|
701
742
|
# connection between a *management account* and an *environment account*
|
702
743
|
# that maintains authorization and permissions. For more information,
|
703
|
-
# see [Environment account connections][1] in the *
|
704
|
-
#
|
744
|
+
# see [Environment account connections][1] in the *Proton Administrator
|
745
|
+
# guide*.
|
705
746
|
#
|
706
747
|
#
|
707
748
|
#
|
708
749
|
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html
|
709
750
|
#
|
710
751
|
# @option params [String] :client_token
|
711
|
-
# When included, if two
|
712
|
-
#
|
713
|
-
#
|
752
|
+
# When included, if two identical requests are made with the same client
|
753
|
+
# token, Proton returns the environment account connection that the
|
754
|
+
# first request created.
|
714
755
|
#
|
715
756
|
# **A suitable default value is auto-generated.** You should normally
|
716
757
|
# not need to pass this option.**
|
717
758
|
#
|
718
759
|
# @option params [required, String] :environment_name
|
719
|
-
# The name of the
|
720
|
-
#
|
760
|
+
# The name of the Proton environment that's created in the associated
|
761
|
+
# management account.
|
721
762
|
#
|
722
763
|
# @option params [required, String] :management_account_id
|
723
764
|
# The ID of the management account that accepts or rejects the
|
724
|
-
# environment account connection. You create an manage the
|
765
|
+
# environment account connection. You create an manage the Proton
|
725
766
|
# environment in this account. If the management account accepts the
|
726
|
-
# environment account connection,
|
727
|
-
#
|
728
|
-
#
|
767
|
+
# environment account connection, Proton can use the associated IAM role
|
768
|
+
# to provision environment infrastructure resources in the associated
|
769
|
+
# environment account.
|
729
770
|
#
|
730
771
|
# @option params [required, String] :role_arn
|
731
772
|
# The Amazon Resource Name (ARN) of the IAM service role that's created
|
732
|
-
# in the environment account.
|
773
|
+
# in the environment account. Proton uses this role to provision
|
733
774
|
# infrastructure resources in the associated environment account.
|
734
775
|
#
|
776
|
+
# @option params [Array<Types::Tag>] :tags
|
777
|
+
# Tags for your environment account connection. For more information,
|
778
|
+
# see [Proton resources and tagging][1] in the *Proton Administrator
|
779
|
+
# Guide*.
|
780
|
+
#
|
781
|
+
#
|
782
|
+
#
|
783
|
+
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/resources.html
|
784
|
+
#
|
735
785
|
# @return [Types::CreateEnvironmentAccountConnectionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
736
786
|
#
|
737
787
|
# * {Types::CreateEnvironmentAccountConnectionOutput#environment_account_connection #environment_account_connection} => Types::EnvironmentAccountConnection
|
@@ -743,6 +793,12 @@ module Aws::Proton
|
|
743
793
|
# environment_name: "ResourceName", # required
|
744
794
|
# management_account_id: "AwsAccountId", # required
|
745
795
|
# role_arn: "Arn", # required
|
796
|
+
# tags: [
|
797
|
+
# {
|
798
|
+
# key: "TagKey", # required
|
799
|
+
# value: "TagValue", # required
|
800
|
+
# },
|
801
|
+
# ],
|
746
802
|
# })
|
747
803
|
#
|
748
804
|
# @example Response structure
|
@@ -766,25 +822,23 @@ module Aws::Proton
|
|
766
822
|
req.send_request(options)
|
767
823
|
end
|
768
824
|
|
769
|
-
# Create an environment template for
|
770
|
-
#
|
771
|
-
# Guide*.
|
825
|
+
# Create an environment template for Proton. For more information, see
|
826
|
+
# [Environment Templates][1] in the *Proton Administrator Guide*.
|
772
827
|
#
|
773
828
|
# You can create an environment template in one of the two following
|
774
829
|
# ways:
|
775
830
|
#
|
776
831
|
# * Register and publish a *standard* environment template that
|
777
|
-
# instructs
|
778
|
-
# infrastructure.
|
832
|
+
# instructs Proton to deploy and manage environment infrastructure.
|
779
833
|
#
|
780
834
|
# * Register and publish a *customer managed* environment template that
|
781
|
-
# connects
|
782
|
-
#
|
835
|
+
# connects Proton to your existing provisioned infrastructure that you
|
836
|
+
# manage. Proton *doesn't* manage your existing provisioned
|
783
837
|
# infrastructure. To create an environment template for customer
|
784
838
|
# provisioned and managed infrastructure, include the `provisioning`
|
785
839
|
# parameter and set the value to `CUSTOMER_MANAGED`. For more
|
786
840
|
# information, see [Register and publish an environment template][2]
|
787
|
-
# in the *
|
841
|
+
# in the *Proton Administrator Guide*.
|
788
842
|
#
|
789
843
|
#
|
790
844
|
#
|
@@ -798,8 +852,7 @@ module Aws::Proton
|
|
798
852
|
# The environment template name as displayed in the developer interface.
|
799
853
|
#
|
800
854
|
# @option params [String] :encryption_key
|
801
|
-
# A customer provided encryption key that
|
802
|
-
# data.
|
855
|
+
# A customer provided encryption key that Proton uses to encrypt data.
|
803
856
|
#
|
804
857
|
# @option params [required, String] :name
|
805
858
|
# The name of the environment template.
|
@@ -810,8 +863,8 @@ module Aws::Proton
|
|
810
863
|
#
|
811
864
|
# @option params [Array<Types::Tag>] :tags
|
812
865
|
# Create tags for your environment template. For more information, see
|
813
|
-
# *
|
814
|
-
#
|
866
|
+
# *Proton resources and tagging* in the [Proton Administrator Guide][1]
|
867
|
+
# or [Proton User Guide][2].
|
815
868
|
#
|
816
869
|
#
|
817
870
|
#
|
@@ -865,9 +918,9 @@ module Aws::Proton
|
|
865
918
|
# version that's backwards compatible within its major version.
|
866
919
|
#
|
867
920
|
# @option params [String] :client_token
|
868
|
-
# When included, if two
|
869
|
-
#
|
870
|
-
#
|
921
|
+
# When included, if two identical requests are made with the same client
|
922
|
+
# token, Proton returns the environment template version that the first
|
923
|
+
# request created.
|
871
924
|
#
|
872
925
|
# **A suitable default value is auto-generated.** You should normally
|
873
926
|
# not need to pass this option.**
|
@@ -877,10 +930,10 @@ module Aws::Proton
|
|
877
930
|
#
|
878
931
|
# @option params [String] :major_version
|
879
932
|
# To create a new minor version of the environment template, include a
|
880
|
-
# `
|
933
|
+
# `major Version`.
|
881
934
|
#
|
882
935
|
# To create a new major and minor version of the environment template,
|
883
|
-
# *exclude* `
|
936
|
+
# *exclude* `major Version`.
|
884
937
|
#
|
885
938
|
# @option params [required, Types::TemplateVersionSourceInput] :source
|
886
939
|
# An object that includes the template bundle S3 bucket path and name
|
@@ -940,11 +993,69 @@ module Aws::Proton
|
|
940
993
|
req.send_request(options)
|
941
994
|
end
|
942
995
|
|
943
|
-
# Create
|
944
|
-
#
|
945
|
-
#
|
946
|
-
#
|
947
|
-
#
|
996
|
+
# Create and register a link to a repository that can be used with pull
|
997
|
+
# request provisioning or template sync configurations. For more
|
998
|
+
# information, see [Template bundles][1] and [Template sync
|
999
|
+
# configurations][2] in the *Proton Administrator Guide*.
|
1000
|
+
#
|
1001
|
+
#
|
1002
|
+
#
|
1003
|
+
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-bundles.html
|
1004
|
+
# [2]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-sync-configs.html
|
1005
|
+
#
|
1006
|
+
# @option params [required, String] :connection_arn
|
1007
|
+
# The Amazon Resource Name (ARN) of your Amazon Web Services CodeStar
|
1008
|
+
# connection. For more information, see [Setting up for Proton][1] in
|
1009
|
+
# the *Proton Administrator Guide*.
|
1010
|
+
#
|
1011
|
+
#
|
1012
|
+
#
|
1013
|
+
# [1]: https://docs.aws.amazon.com/setting-up-for-service
|
1014
|
+
#
|
1015
|
+
# @option params [String] :encryption_key
|
1016
|
+
# The ARN of your customer Amazon Web Services Key Management Service
|
1017
|
+
# (Amazon Web Services KMS) key.
|
1018
|
+
#
|
1019
|
+
# @option params [required, String] :name
|
1020
|
+
# The repository name, for example `myrepos/myrepo`.
|
1021
|
+
#
|
1022
|
+
# @option params [required, String] :provider
|
1023
|
+
# The repository provider.
|
1024
|
+
#
|
1025
|
+
# @return [Types::CreateRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1026
|
+
#
|
1027
|
+
# * {Types::CreateRepositoryOutput#repository #repository} => Types::Repository
|
1028
|
+
#
|
1029
|
+
# @example Request syntax with placeholder values
|
1030
|
+
#
|
1031
|
+
# resp = client.create_repository({
|
1032
|
+
# connection_arn: "Arn", # required
|
1033
|
+
# encryption_key: "Arn",
|
1034
|
+
# name: "RepositoryName", # required
|
1035
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
1036
|
+
# })
|
1037
|
+
#
|
1038
|
+
# @example Response structure
|
1039
|
+
#
|
1040
|
+
# resp.repository.arn #=> String
|
1041
|
+
# resp.repository.connection_arn #=> String
|
1042
|
+
# resp.repository.encryption_key #=> String
|
1043
|
+
# resp.repository.name #=> String
|
1044
|
+
# resp.repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1045
|
+
#
|
1046
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateRepository AWS API Documentation
|
1047
|
+
#
|
1048
|
+
# @overload create_repository(params = {})
|
1049
|
+
# @param [Hash] params ({})
|
1050
|
+
def create_repository(params = {}, options = {})
|
1051
|
+
req = build_request(:create_repository, params)
|
1052
|
+
req.send_request(options)
|
1053
|
+
end
|
1054
|
+
|
1055
|
+
# Create an Proton service. An Proton service is an instantiation of a
|
1056
|
+
# service template and often includes several service instances and
|
1057
|
+
# pipeline. For more information, see [Services][1] in the *Proton
|
1058
|
+
# Administrator Guide* and [Services][2] in the *Proton User Guide*.
|
948
1059
|
#
|
949
1060
|
#
|
950
1061
|
#
|
@@ -953,21 +1064,21 @@ module Aws::Proton
|
|
953
1064
|
#
|
954
1065
|
# @option params [String] :branch_name
|
955
1066
|
# The name of the code repository branch that holds the code that's
|
956
|
-
# deployed in
|
957
|
-
#
|
1067
|
+
# deployed in Proton. *Don't* include this parameter if your service
|
1068
|
+
# template *doesn't* include a service pipeline.
|
958
1069
|
#
|
959
1070
|
# @option params [String] :description
|
960
|
-
# A description of the
|
1071
|
+
# A description of the Proton service.
|
961
1072
|
#
|
962
1073
|
# @option params [required, String] :name
|
963
1074
|
# The service name.
|
964
1075
|
#
|
965
1076
|
# @option params [String] :repository_connection_arn
|
966
1077
|
# The Amazon Resource Name (ARN) of the repository connection. For more
|
967
|
-
# information, see [Set up repository connection][1] in the *
|
968
|
-
# Administrator Guide* and [Setting up with
|
969
|
-
#
|
970
|
-
#
|
1078
|
+
# information, see [Set up repository connection][1] in the *Proton
|
1079
|
+
# Administrator Guide* and [Setting up with Proton][2] in the *Proton
|
1080
|
+
# User Guide*. *Don't* include this parameter if your service template
|
1081
|
+
# *doesn't* include a service pipeline.
|
971
1082
|
#
|
972
1083
|
#
|
973
1084
|
#
|
@@ -983,8 +1094,8 @@ module Aws::Proton
|
|
983
1094
|
# template bundle schema file. The spec file is in YAML format. Don’t
|
984
1095
|
# include pipeline inputs in the spec if your service template *doesn’t*
|
985
1096
|
# include a service pipeline. For more information, see [Create a
|
986
|
-
# service][1] in the *
|
987
|
-
# service][2] in the *
|
1097
|
+
# service][1] in the *Proton Administrator Guide* and [Create a
|
1098
|
+
# service][2] in the *Proton User Guide*.
|
988
1099
|
#
|
989
1100
|
#
|
990
1101
|
#
|
@@ -992,9 +1103,9 @@ module Aws::Proton
|
|
992
1103
|
# [2]: https://docs.aws.amazon.com/proton/latest/userguide/ug-svc-create.html
|
993
1104
|
#
|
994
1105
|
# @option params [Array<Types::Tag>] :tags
|
995
|
-
# Create tags for your service. For more information, see *
|
996
|
-
# resources and tagging* in the [
|
997
|
-
# [
|
1106
|
+
# Create tags for your service. For more information, see *Proton
|
1107
|
+
# resources and tagging* in the [Proton Administrator Guide][1] or
|
1108
|
+
# [Proton User Guide][2].
|
998
1109
|
#
|
999
1110
|
#
|
1000
1111
|
#
|
@@ -1002,12 +1113,12 @@ module Aws::Proton
|
|
1002
1113
|
# [2]: https://docs.aws.amazon.com/proton/latest/userguide/resources.html
|
1003
1114
|
#
|
1004
1115
|
# @option params [required, String] :template_major_version
|
1005
|
-
# The
|
1006
|
-
#
|
1116
|
+
# The major version of the service template that was used to create the
|
1117
|
+
# service.
|
1007
1118
|
#
|
1008
1119
|
# @option params [String] :template_minor_version
|
1009
|
-
# The
|
1010
|
-
#
|
1120
|
+
# The minor version of the service template that was used to create the
|
1121
|
+
# service.
|
1011
1122
|
#
|
1012
1123
|
# @option params [required, String] :template_name
|
1013
1124
|
# The name of the service template that's used to create the service.
|
@@ -1073,11 +1184,11 @@ module Aws::Proton
|
|
1073
1184
|
# Create a service template. The administrator creates a service
|
1074
1185
|
# template to define standardized infrastructure and an optional CICD
|
1075
1186
|
# service pipeline. Developers, in turn, select the service template
|
1076
|
-
# from
|
1187
|
+
# from Proton. If the selected service template includes a service
|
1077
1188
|
# pipeline definition, they provide a link to their source code
|
1078
|
-
# repository.
|
1079
|
-
#
|
1080
|
-
#
|
1189
|
+
# repository. Proton then deploys and manages the infrastructure defined
|
1190
|
+
# by the selected service template. For more information, see [Service
|
1191
|
+
# Templates][1] in the *Proton Administrator Guide*.
|
1081
1192
|
#
|
1082
1193
|
#
|
1083
1194
|
#
|
@@ -1097,20 +1208,20 @@ module Aws::Proton
|
|
1097
1208
|
# The name of the service template.
|
1098
1209
|
#
|
1099
1210
|
# @option params [String] :pipeline_provisioning
|
1100
|
-
#
|
1101
|
-
#
|
1102
|
-
#
|
1103
|
-
#
|
1104
|
-
#
|
1211
|
+
# Proton includes a service pipeline for your service by default. When
|
1212
|
+
# included, this parameter indicates that an Proton service pipeline
|
1213
|
+
# *won't* be included for your service. Once specified, this parameter
|
1214
|
+
# *can't* be changed. For more information, see [Service template
|
1215
|
+
# bundles][1] in the *Proton Administrator Guide*.
|
1105
1216
|
#
|
1106
1217
|
#
|
1107
1218
|
#
|
1108
1219
|
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-bundles.html
|
1109
1220
|
#
|
1110
1221
|
# @option params [Array<Types::Tag>] :tags
|
1111
|
-
# Create tags for your service template. For more information, see
|
1112
|
-
# Proton resources and tagging* in the [
|
1113
|
-
#
|
1222
|
+
# Create tags for your service template. For more information, see
|
1223
|
+
# *Proton resources and tagging* in the [Proton Administrator Guide][1]
|
1224
|
+
# or [Proton User Guide][2].
|
1114
1225
|
#
|
1115
1226
|
#
|
1116
1227
|
#
|
@@ -1159,14 +1270,14 @@ module Aws::Proton
|
|
1159
1270
|
end
|
1160
1271
|
|
1161
1272
|
# Create a new major or minor version of a service template. A major
|
1162
|
-
# version of a service template is a version that *isn't*
|
1273
|
+
# version of a service template is a version that *isn't* backward
|
1163
1274
|
# compatible. A minor version of a service template is a version that's
|
1164
|
-
#
|
1275
|
+
# backward compatible within its major version.
|
1165
1276
|
#
|
1166
1277
|
# @option params [String] :client_token
|
1167
|
-
# When included, if two
|
1168
|
-
#
|
1169
|
-
#
|
1278
|
+
# When included, if two identical requests are made with the same client
|
1279
|
+
# token, Proton returns the service template version that the first
|
1280
|
+
# request created.
|
1170
1281
|
#
|
1171
1282
|
# **A suitable default value is auto-generated.** You should normally
|
1172
1283
|
# not need to pass this option.**
|
@@ -1180,10 +1291,10 @@ module Aws::Proton
|
|
1180
1291
|
#
|
1181
1292
|
# @option params [String] :major_version
|
1182
1293
|
# To create a new minor version of the service template, include a
|
1183
|
-
# `
|
1294
|
+
# `major Version`.
|
1184
1295
|
#
|
1185
1296
|
# To create a new major and minor version of the service template,
|
1186
|
-
# *exclude* `
|
1297
|
+
# *exclude* `major Version`.
|
1187
1298
|
#
|
1188
1299
|
# @option params [required, Types::TemplateVersionSourceInput] :source
|
1189
1300
|
# An object that includes the template bundle S3 bucket path and name
|
@@ -1252,6 +1363,72 @@ module Aws::Proton
|
|
1252
1363
|
req.send_request(options)
|
1253
1364
|
end
|
1254
1365
|
|
1366
|
+
# Set up a template for automated template version creation. When a
|
1367
|
+
# commit is pushed to your registered [repository][1], Proton checks for
|
1368
|
+
# changes to your repository template bundles. If it detects a template
|
1369
|
+
# bundle change, a new minor or major version of its template is
|
1370
|
+
# created, if the version doesn’t already exist. For more information,
|
1371
|
+
# see [Template sync configurations][2] in the *Proton Administrator
|
1372
|
+
# Guide*.
|
1373
|
+
#
|
1374
|
+
#
|
1375
|
+
#
|
1376
|
+
# [1]: https://docs.aws.amazon.com/proton/latest/APIReference/API_Repository.html
|
1377
|
+
# [2]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-sync-configs.html
|
1378
|
+
#
|
1379
|
+
# @option params [required, String] :branch
|
1380
|
+
# The branch of the registered repository for your template.
|
1381
|
+
#
|
1382
|
+
# @option params [required, String] :repository_name
|
1383
|
+
# The name of your repository, for example `myrepos/myrepo`.
|
1384
|
+
#
|
1385
|
+
# @option params [required, String] :repository_provider
|
1386
|
+
# The provider type for your repository.
|
1387
|
+
#
|
1388
|
+
# @option params [String] :subdirectory
|
1389
|
+
# A repository subdirectory path to your template bundle directory. When
|
1390
|
+
# included, Proton limits the template bundle search to this repository
|
1391
|
+
# directory.
|
1392
|
+
#
|
1393
|
+
# @option params [required, String] :template_name
|
1394
|
+
# The name of your registered template.
|
1395
|
+
#
|
1396
|
+
# @option params [required, String] :template_type
|
1397
|
+
# The type of the registered template.
|
1398
|
+
#
|
1399
|
+
# @return [Types::CreateTemplateSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1400
|
+
#
|
1401
|
+
# * {Types::CreateTemplateSyncConfigOutput#template_sync_config #template_sync_config} => Types::TemplateSyncConfig
|
1402
|
+
#
|
1403
|
+
# @example Request syntax with placeholder values
|
1404
|
+
#
|
1405
|
+
# resp = client.create_template_sync_config({
|
1406
|
+
# branch: "GitBranchName", # required
|
1407
|
+
# repository_name: "RepositoryName", # required
|
1408
|
+
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
1409
|
+
# subdirectory: "Subdirectory",
|
1410
|
+
# template_name: "ResourceName", # required
|
1411
|
+
# template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
|
1412
|
+
# })
|
1413
|
+
#
|
1414
|
+
# @example Response structure
|
1415
|
+
#
|
1416
|
+
# resp.template_sync_config.branch #=> String
|
1417
|
+
# resp.template_sync_config.repository_name #=> String
|
1418
|
+
# resp.template_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1419
|
+
# resp.template_sync_config.subdirectory #=> String
|
1420
|
+
# resp.template_sync_config.template_name #=> String
|
1421
|
+
# resp.template_sync_config.template_type #=> String, one of "ENVIRONMENT", "SERVICE"
|
1422
|
+
#
|
1423
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateTemplateSyncConfig AWS API Documentation
|
1424
|
+
#
|
1425
|
+
# @overload create_template_sync_config(params = {})
|
1426
|
+
# @param [Hash] params ({})
|
1427
|
+
def create_template_sync_config(params = {}, options = {})
|
1428
|
+
req = build_request(:create_template_sync_config, params)
|
1429
|
+
req.send_request(options)
|
1430
|
+
end
|
1431
|
+
|
1255
1432
|
# Delete an environment.
|
1256
1433
|
#
|
1257
1434
|
# @option params [required, String] :name
|
@@ -1281,6 +1458,10 @@ module Aws::Proton
|
|
1281
1458
|
# resp.environment.name #=> String
|
1282
1459
|
# resp.environment.proton_service_role_arn #=> String
|
1283
1460
|
# resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
|
1461
|
+
# resp.environment.provisioning_repository.arn #=> String
|
1462
|
+
# resp.environment.provisioning_repository.branch #=> String
|
1463
|
+
# resp.environment.provisioning_repository.name #=> String
|
1464
|
+
# resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1284
1465
|
# resp.environment.spec #=> String
|
1285
1466
|
# resp.environment.template_major_version #=> String
|
1286
1467
|
# resp.environment.template_minor_version #=> String
|
@@ -1298,14 +1479,14 @@ module Aws::Proton
|
|
1298
1479
|
# In an environment account, delete an environment account connection.
|
1299
1480
|
#
|
1300
1481
|
# After you delete an environment account connection that’s in use by an
|
1301
|
-
#
|
1482
|
+
# Proton environment, Proton *can’t* manage the environment
|
1302
1483
|
# infrastructure resources until a new environment account connection is
|
1303
1484
|
# accepted for the environment account and associated environment.
|
1304
1485
|
# You're responsible for cleaning up provisioned resources that remain
|
1305
1486
|
# without an environment connection.
|
1306
1487
|
#
|
1307
1488
|
# For more information, see [Environment account connections][1] in the
|
1308
|
-
# *
|
1489
|
+
# *Proton Administrator guide*.
|
1309
1490
|
#
|
1310
1491
|
#
|
1311
1492
|
#
|
@@ -1387,13 +1568,13 @@ module Aws::Proton
|
|
1387
1568
|
# `Recommended` version. Delete the `Recommended` version of the
|
1388
1569
|
# environment template if no other major versions or minor versions of
|
1389
1570
|
# the environment template exist. A major version of an environment
|
1390
|
-
# template is a version that's not
|
1571
|
+
# template is a version that's not backward compatible.
|
1391
1572
|
#
|
1392
1573
|
# Delete a minor version of an environment template if it *isn't* the
|
1393
1574
|
# `Recommended` version. Delete a `Recommended` minor version of the
|
1394
1575
|
# environment template if no other minor versions of the environment
|
1395
1576
|
# template exist. A minor version of an environment template is a
|
1396
|
-
# version that's
|
1577
|
+
# version that's backward compatible.
|
1397
1578
|
#
|
1398
1579
|
# @option params [required, String] :major_version
|
1399
1580
|
# The environment template major version to delete.
|
@@ -1439,6 +1620,42 @@ module Aws::Proton
|
|
1439
1620
|
req.send_request(options)
|
1440
1621
|
end
|
1441
1622
|
|
1623
|
+
# De-register and unlink your repository.
|
1624
|
+
#
|
1625
|
+
# @option params [required, String] :name
|
1626
|
+
# The name of the repository.
|
1627
|
+
#
|
1628
|
+
# @option params [required, String] :provider
|
1629
|
+
# The repository provider.
|
1630
|
+
#
|
1631
|
+
# @return [Types::DeleteRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1632
|
+
#
|
1633
|
+
# * {Types::DeleteRepositoryOutput#repository #repository} => Types::Repository
|
1634
|
+
#
|
1635
|
+
# @example Request syntax with placeholder values
|
1636
|
+
#
|
1637
|
+
# resp = client.delete_repository({
|
1638
|
+
# name: "RepositoryName", # required
|
1639
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
1640
|
+
# })
|
1641
|
+
#
|
1642
|
+
# @example Response structure
|
1643
|
+
#
|
1644
|
+
# resp.repository.arn #=> String
|
1645
|
+
# resp.repository.connection_arn #=> String
|
1646
|
+
# resp.repository.encryption_key #=> String
|
1647
|
+
# resp.repository.name #=> String
|
1648
|
+
# resp.repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1649
|
+
#
|
1650
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteRepository AWS API Documentation
|
1651
|
+
#
|
1652
|
+
# @overload delete_repository(params = {})
|
1653
|
+
# @param [Hash] params ({})
|
1654
|
+
def delete_repository(params = {}, options = {})
|
1655
|
+
req = build_request(:delete_repository, params)
|
1656
|
+
req.send_request(options)
|
1657
|
+
end
|
1658
|
+
|
1442
1659
|
# Delete a service.
|
1443
1660
|
#
|
1444
1661
|
# @option params [required, String] :name
|
@@ -1585,7 +1802,44 @@ module Aws::Proton
|
|
1585
1802
|
req.send_request(options)
|
1586
1803
|
end
|
1587
1804
|
|
1588
|
-
#
|
1805
|
+
# Delete a template sync configuration.
|
1806
|
+
#
|
1807
|
+
# @option params [required, String] :template_name
|
1808
|
+
# The template name.
|
1809
|
+
#
|
1810
|
+
# @option params [required, String] :template_type
|
1811
|
+
# The template type.
|
1812
|
+
#
|
1813
|
+
# @return [Types::DeleteTemplateSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1814
|
+
#
|
1815
|
+
# * {Types::DeleteTemplateSyncConfigOutput#template_sync_config #template_sync_config} => Types::TemplateSyncConfig
|
1816
|
+
#
|
1817
|
+
# @example Request syntax with placeholder values
|
1818
|
+
#
|
1819
|
+
# resp = client.delete_template_sync_config({
|
1820
|
+
# template_name: "ResourceName", # required
|
1821
|
+
# template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
|
1822
|
+
# })
|
1823
|
+
#
|
1824
|
+
# @example Response structure
|
1825
|
+
#
|
1826
|
+
# resp.template_sync_config.branch #=> String
|
1827
|
+
# resp.template_sync_config.repository_name #=> String
|
1828
|
+
# resp.template_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1829
|
+
# resp.template_sync_config.subdirectory #=> String
|
1830
|
+
# resp.template_sync_config.template_name #=> String
|
1831
|
+
# resp.template_sync_config.template_type #=> String, one of "ENVIRONMENT", "SERVICE"
|
1832
|
+
#
|
1833
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteTemplateSyncConfig AWS API Documentation
|
1834
|
+
#
|
1835
|
+
# @overload delete_template_sync_config(params = {})
|
1836
|
+
# @param [Hash] params ({})
|
1837
|
+
def delete_template_sync_config(params = {}, options = {})
|
1838
|
+
req = build_request(:delete_template_sync_config, params)
|
1839
|
+
req.send_request(options)
|
1840
|
+
end
|
1841
|
+
|
1842
|
+
# Get detail data for the Proton pipeline service role.
|
1589
1843
|
#
|
1590
1844
|
# @return [Types::GetAccountSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1591
1845
|
#
|
@@ -1593,6 +1847,10 @@ module Aws::Proton
|
|
1593
1847
|
#
|
1594
1848
|
# @example Response structure
|
1595
1849
|
#
|
1850
|
+
# resp.account_settings.pipeline_provisioning_repository.arn #=> String
|
1851
|
+
# resp.account_settings.pipeline_provisioning_repository.branch #=> String
|
1852
|
+
# resp.account_settings.pipeline_provisioning_repository.name #=> String
|
1853
|
+
# resp.account_settings.pipeline_provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1596
1854
|
# resp.account_settings.pipeline_service_role_arn #=> String
|
1597
1855
|
#
|
1598
1856
|
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetAccountSettings AWS API Documentation
|
@@ -1633,6 +1891,10 @@ module Aws::Proton
|
|
1633
1891
|
# resp.environment.name #=> String
|
1634
1892
|
# resp.environment.proton_service_role_arn #=> String
|
1635
1893
|
# resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
|
1894
|
+
# resp.environment.provisioning_repository.arn #=> String
|
1895
|
+
# resp.environment.provisioning_repository.branch #=> String
|
1896
|
+
# resp.environment.provisioning_repository.name #=> String
|
1897
|
+
# resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1636
1898
|
# resp.environment.spec #=> String
|
1637
1899
|
# resp.environment.template_major_version #=> String
|
1638
1900
|
# resp.environment.template_minor_version #=> String
|
@@ -1656,7 +1918,7 @@ module Aws::Proton
|
|
1656
1918
|
# account connection.
|
1657
1919
|
#
|
1658
1920
|
# For more information, see [Environment account connections][1] in the
|
1659
|
-
# *
|
1921
|
+
# *Proton Administrator guide*.
|
1660
1922
|
#
|
1661
1923
|
#
|
1662
1924
|
#
|
@@ -1737,8 +1999,8 @@ module Aws::Proton
|
|
1737
1999
|
# template.
|
1738
2000
|
#
|
1739
2001
|
# @option params [required, String] :major_version
|
1740
|
-
# To view environment template major version detail data, include
|
1741
|
-
#
|
2002
|
+
# To view environment template major version detail data, include `major
|
2003
|
+
# Version`.
|
1742
2004
|
#
|
1743
2005
|
# @option params [required, String] :minor_version
|
1744
2006
|
# To view environment template minor version detail data, include
|
@@ -1787,6 +2049,88 @@ module Aws::Proton
|
|
1787
2049
|
req.send_request(options)
|
1788
2050
|
end
|
1789
2051
|
|
2052
|
+
# Get detail data for a repository.
|
2053
|
+
#
|
2054
|
+
# @option params [required, String] :name
|
2055
|
+
# The repository name, for example `myrepos/myrepo`.
|
2056
|
+
#
|
2057
|
+
# @option params [required, String] :provider
|
2058
|
+
# The repository provider.
|
2059
|
+
#
|
2060
|
+
# @return [Types::GetRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2061
|
+
#
|
2062
|
+
# * {Types::GetRepositoryOutput#repository #repository} => Types::Repository
|
2063
|
+
#
|
2064
|
+
# @example Request syntax with placeholder values
|
2065
|
+
#
|
2066
|
+
# resp = client.get_repository({
|
2067
|
+
# name: "RepositoryName", # required
|
2068
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
2069
|
+
# })
|
2070
|
+
#
|
2071
|
+
# @example Response structure
|
2072
|
+
#
|
2073
|
+
# resp.repository.arn #=> String
|
2074
|
+
# resp.repository.connection_arn #=> String
|
2075
|
+
# resp.repository.encryption_key #=> String
|
2076
|
+
# resp.repository.name #=> String
|
2077
|
+
# resp.repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2078
|
+
#
|
2079
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetRepository AWS API Documentation
|
2080
|
+
#
|
2081
|
+
# @overload get_repository(params = {})
|
2082
|
+
# @param [Hash] params ({})
|
2083
|
+
def get_repository(params = {}, options = {})
|
2084
|
+
req = build_request(:get_repository, params)
|
2085
|
+
req.send_request(options)
|
2086
|
+
end
|
2087
|
+
|
2088
|
+
# Get the repository sync status.
|
2089
|
+
#
|
2090
|
+
# @option params [required, String] :branch
|
2091
|
+
# The repository branch.
|
2092
|
+
#
|
2093
|
+
# @option params [required, String] :repository_name
|
2094
|
+
# The repository name.
|
2095
|
+
#
|
2096
|
+
# @option params [required, String] :repository_provider
|
2097
|
+
# The repository provider.
|
2098
|
+
#
|
2099
|
+
# @option params [required, String] :sync_type
|
2100
|
+
# The repository sync type.
|
2101
|
+
#
|
2102
|
+
# @return [Types::GetRepositorySyncStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2103
|
+
#
|
2104
|
+
# * {Types::GetRepositorySyncStatusOutput#latest_sync #latest_sync} => Types::RepositorySyncAttempt
|
2105
|
+
#
|
2106
|
+
# @example Request syntax with placeholder values
|
2107
|
+
#
|
2108
|
+
# resp = client.get_repository_sync_status({
|
2109
|
+
# branch: "GitBranchName", # required
|
2110
|
+
# repository_name: "RepositoryName", # required
|
2111
|
+
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
2112
|
+
# sync_type: "TEMPLATE_SYNC", # required, accepts TEMPLATE_SYNC
|
2113
|
+
# })
|
2114
|
+
#
|
2115
|
+
# @example Response structure
|
2116
|
+
#
|
2117
|
+
# resp.latest_sync.events #=> Array
|
2118
|
+
# resp.latest_sync.events[0].event #=> String
|
2119
|
+
# resp.latest_sync.events[0].external_id #=> String
|
2120
|
+
# resp.latest_sync.events[0].time #=> Time
|
2121
|
+
# resp.latest_sync.events[0].type #=> String
|
2122
|
+
# resp.latest_sync.started_at #=> Time
|
2123
|
+
# resp.latest_sync.status #=> String, one of "INITIATED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "QUEUED"
|
2124
|
+
#
|
2125
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetRepositorySyncStatus AWS API Documentation
|
2126
|
+
#
|
2127
|
+
# @overload get_repository_sync_status(params = {})
|
2128
|
+
# @param [Hash] params ({})
|
2129
|
+
def get_repository_sync_status(params = {}, options = {})
|
2130
|
+
req = build_request(:get_repository_sync_status, params)
|
2131
|
+
req.send_request(options)
|
2132
|
+
end
|
2133
|
+
|
1790
2134
|
# Get detail data for a service.
|
1791
2135
|
#
|
1792
2136
|
# @option params [required, String] :name
|
@@ -1935,8 +2279,8 @@ module Aws::Proton
|
|
1935
2279
|
# View detail data for a major or minor version of a service template.
|
1936
2280
|
#
|
1937
2281
|
# @option params [required, String] :major_version
|
1938
|
-
# To view service template major version detail data, include
|
1939
|
-
#
|
2282
|
+
# To view service template major version detail data, include `major
|
2283
|
+
# Version`.
|
1940
2284
|
#
|
1941
2285
|
# @option params [required, String] :minor_version
|
1942
2286
|
# To view service template minor version detail data, include
|
@@ -1988,10 +2332,125 @@ module Aws::Proton
|
|
1988
2332
|
req.send_request(options)
|
1989
2333
|
end
|
1990
2334
|
|
2335
|
+
# Get detail data for a template sync configuration.
|
2336
|
+
#
|
2337
|
+
# @option params [required, String] :template_name
|
2338
|
+
# The template name.
|
2339
|
+
#
|
2340
|
+
# @option params [required, String] :template_type
|
2341
|
+
# The template type.
|
2342
|
+
#
|
2343
|
+
# @return [Types::GetTemplateSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2344
|
+
#
|
2345
|
+
# * {Types::GetTemplateSyncConfigOutput#template_sync_config #template_sync_config} => Types::TemplateSyncConfig
|
2346
|
+
#
|
2347
|
+
# @example Request syntax with placeholder values
|
2348
|
+
#
|
2349
|
+
# resp = client.get_template_sync_config({
|
2350
|
+
# template_name: "ResourceName", # required
|
2351
|
+
# template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
|
2352
|
+
# })
|
2353
|
+
#
|
2354
|
+
# @example Response structure
|
2355
|
+
#
|
2356
|
+
# resp.template_sync_config.branch #=> String
|
2357
|
+
# resp.template_sync_config.repository_name #=> String
|
2358
|
+
# resp.template_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2359
|
+
# resp.template_sync_config.subdirectory #=> String
|
2360
|
+
# resp.template_sync_config.template_name #=> String
|
2361
|
+
# resp.template_sync_config.template_type #=> String, one of "ENVIRONMENT", "SERVICE"
|
2362
|
+
#
|
2363
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetTemplateSyncConfig AWS API Documentation
|
2364
|
+
#
|
2365
|
+
# @overload get_template_sync_config(params = {})
|
2366
|
+
# @param [Hash] params ({})
|
2367
|
+
def get_template_sync_config(params = {}, options = {})
|
2368
|
+
req = build_request(:get_template_sync_config, params)
|
2369
|
+
req.send_request(options)
|
2370
|
+
end
|
2371
|
+
|
2372
|
+
# Get the status of a template sync.
|
2373
|
+
#
|
2374
|
+
# @option params [required, String] :template_name
|
2375
|
+
# The template name.
|
2376
|
+
#
|
2377
|
+
# @option params [required, String] :template_type
|
2378
|
+
# The template type.
|
2379
|
+
#
|
2380
|
+
# @option params [required, String] :template_version
|
2381
|
+
# The template version.
|
2382
|
+
#
|
2383
|
+
# @return [Types::GetTemplateSyncStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2384
|
+
#
|
2385
|
+
# * {Types::GetTemplateSyncStatusOutput#desired_state #desired_state} => Types::Revision
|
2386
|
+
# * {Types::GetTemplateSyncStatusOutput#latest_successful_sync #latest_successful_sync} => Types::ResourceSyncAttempt
|
2387
|
+
# * {Types::GetTemplateSyncStatusOutput#latest_sync #latest_sync} => Types::ResourceSyncAttempt
|
2388
|
+
#
|
2389
|
+
# @example Request syntax with placeholder values
|
2390
|
+
#
|
2391
|
+
# resp = client.get_template_sync_status({
|
2392
|
+
# template_name: "ResourceName", # required
|
2393
|
+
# template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
|
2394
|
+
# template_version: "TemplateVersionPart", # required
|
2395
|
+
# })
|
2396
|
+
#
|
2397
|
+
# @example Response structure
|
2398
|
+
#
|
2399
|
+
# resp.desired_state.branch #=> String
|
2400
|
+
# resp.desired_state.directory #=> String
|
2401
|
+
# resp.desired_state.repository_name #=> String
|
2402
|
+
# resp.desired_state.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2403
|
+
# resp.desired_state.sha #=> String
|
2404
|
+
# resp.latest_successful_sync.events #=> Array
|
2405
|
+
# resp.latest_successful_sync.events[0].event #=> String
|
2406
|
+
# resp.latest_successful_sync.events[0].external_id #=> String
|
2407
|
+
# resp.latest_successful_sync.events[0].time #=> Time
|
2408
|
+
# resp.latest_successful_sync.events[0].type #=> String
|
2409
|
+
# resp.latest_successful_sync.initial_revision.branch #=> String
|
2410
|
+
# resp.latest_successful_sync.initial_revision.directory #=> String
|
2411
|
+
# resp.latest_successful_sync.initial_revision.repository_name #=> String
|
2412
|
+
# resp.latest_successful_sync.initial_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2413
|
+
# resp.latest_successful_sync.initial_revision.sha #=> String
|
2414
|
+
# resp.latest_successful_sync.started_at #=> Time
|
2415
|
+
# resp.latest_successful_sync.status #=> String, one of "INITIATED", "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
2416
|
+
# resp.latest_successful_sync.target #=> String
|
2417
|
+
# resp.latest_successful_sync.target_revision.branch #=> String
|
2418
|
+
# resp.latest_successful_sync.target_revision.directory #=> String
|
2419
|
+
# resp.latest_successful_sync.target_revision.repository_name #=> String
|
2420
|
+
# resp.latest_successful_sync.target_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2421
|
+
# resp.latest_successful_sync.target_revision.sha #=> String
|
2422
|
+
# resp.latest_sync.events #=> Array
|
2423
|
+
# resp.latest_sync.events[0].event #=> String
|
2424
|
+
# resp.latest_sync.events[0].external_id #=> String
|
2425
|
+
# resp.latest_sync.events[0].time #=> Time
|
2426
|
+
# resp.latest_sync.events[0].type #=> String
|
2427
|
+
# resp.latest_sync.initial_revision.branch #=> String
|
2428
|
+
# resp.latest_sync.initial_revision.directory #=> String
|
2429
|
+
# resp.latest_sync.initial_revision.repository_name #=> String
|
2430
|
+
# resp.latest_sync.initial_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2431
|
+
# resp.latest_sync.initial_revision.sha #=> String
|
2432
|
+
# resp.latest_sync.started_at #=> Time
|
2433
|
+
# resp.latest_sync.status #=> String, one of "INITIATED", "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
2434
|
+
# resp.latest_sync.target #=> String
|
2435
|
+
# resp.latest_sync.target_revision.branch #=> String
|
2436
|
+
# resp.latest_sync.target_revision.directory #=> String
|
2437
|
+
# resp.latest_sync.target_revision.repository_name #=> String
|
2438
|
+
# resp.latest_sync.target_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2439
|
+
# resp.latest_sync.target_revision.sha #=> String
|
2440
|
+
#
|
2441
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetTemplateSyncStatus AWS API Documentation
|
2442
|
+
#
|
2443
|
+
# @overload get_template_sync_status(params = {})
|
2444
|
+
# @param [Hash] params ({})
|
2445
|
+
def get_template_sync_status(params = {}, options = {})
|
2446
|
+
req = build_request(:get_template_sync_status, params)
|
2447
|
+
req.send_request(options)
|
2448
|
+
end
|
2449
|
+
|
1991
2450
|
# View a list of environment account connections.
|
1992
2451
|
#
|
1993
2452
|
# For more information, see [Environment account connections][1] in the
|
1994
|
-
# *
|
2453
|
+
# *Proton Administrator guide*.
|
1995
2454
|
#
|
1996
2455
|
#
|
1997
2456
|
#
|
@@ -2056,15 +2515,97 @@ module Aws::Proton
|
|
2056
2515
|
req.send_request(options)
|
2057
2516
|
end
|
2058
2517
|
|
2518
|
+
# List the infrastructure as code outputs for your environment.
|
2519
|
+
#
|
2520
|
+
# @option params [required, String] :environment_name
|
2521
|
+
# The environment name.
|
2522
|
+
#
|
2523
|
+
# @option params [String] :next_token
|
2524
|
+
# A token to indicate the location of the next environment output in the
|
2525
|
+
# array of environment outputs, after the list of environment outputs
|
2526
|
+
# that was previously requested.
|
2527
|
+
#
|
2528
|
+
# @return [Types::ListEnvironmentOutputsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2529
|
+
#
|
2530
|
+
# * {Types::ListEnvironmentOutputsOutput#next_token #next_token} => String
|
2531
|
+
# * {Types::ListEnvironmentOutputsOutput#outputs #outputs} => Array<Types::Output>
|
2532
|
+
#
|
2533
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2534
|
+
#
|
2535
|
+
# @example Request syntax with placeholder values
|
2536
|
+
#
|
2537
|
+
# resp = client.list_environment_outputs({
|
2538
|
+
# environment_name: "ResourceName", # required
|
2539
|
+
# next_token: "EmptyNextToken",
|
2540
|
+
# })
|
2541
|
+
#
|
2542
|
+
# @example Response structure
|
2543
|
+
#
|
2544
|
+
# resp.next_token #=> String
|
2545
|
+
# resp.outputs #=> Array
|
2546
|
+
# resp.outputs[0].key #=> String
|
2547
|
+
# resp.outputs[0].value_string #=> String
|
2548
|
+
#
|
2549
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentOutputs AWS API Documentation
|
2550
|
+
#
|
2551
|
+
# @overload list_environment_outputs(params = {})
|
2552
|
+
# @param [Hash] params ({})
|
2553
|
+
def list_environment_outputs(params = {}, options = {})
|
2554
|
+
req = build_request(:list_environment_outputs, params)
|
2555
|
+
req.send_request(options)
|
2556
|
+
end
|
2557
|
+
|
2558
|
+
# List the provisioned resources for your environment.
|
2559
|
+
#
|
2560
|
+
# @option params [required, String] :environment_name
|
2561
|
+
# The environment name.
|
2562
|
+
#
|
2563
|
+
# @option params [String] :next_token
|
2564
|
+
# A token to indicate the location of the next environment provisioned
|
2565
|
+
# resource in the array of environment provisioned resources, after the
|
2566
|
+
# list of environment provisioned resources that was previously
|
2567
|
+
# requested.
|
2568
|
+
#
|
2569
|
+
# @return [Types::ListEnvironmentProvisionedResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2570
|
+
#
|
2571
|
+
# * {Types::ListEnvironmentProvisionedResourcesOutput#next_token #next_token} => String
|
2572
|
+
# * {Types::ListEnvironmentProvisionedResourcesOutput#provisioned_resources #provisioned_resources} => Array<Types::ProvisionedResource>
|
2573
|
+
#
|
2574
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2575
|
+
#
|
2576
|
+
# @example Request syntax with placeholder values
|
2577
|
+
#
|
2578
|
+
# resp = client.list_environment_provisioned_resources({
|
2579
|
+
# environment_name: "ResourceName", # required
|
2580
|
+
# next_token: "EmptyNextToken",
|
2581
|
+
# })
|
2582
|
+
#
|
2583
|
+
# @example Response structure
|
2584
|
+
#
|
2585
|
+
# resp.next_token #=> String
|
2586
|
+
# resp.provisioned_resources #=> Array
|
2587
|
+
# resp.provisioned_resources[0].identifier #=> String
|
2588
|
+
# resp.provisioned_resources[0].name #=> String
|
2589
|
+
# resp.provisioned_resources[0].provisioning_engine #=> String, one of "CLOUDFORMATION", "TERRAFORM"
|
2590
|
+
#
|
2591
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentProvisionedResources AWS API Documentation
|
2592
|
+
#
|
2593
|
+
# @overload list_environment_provisioned_resources(params = {})
|
2594
|
+
# @param [Hash] params ({})
|
2595
|
+
def list_environment_provisioned_resources(params = {}, options = {})
|
2596
|
+
req = build_request(:list_environment_provisioned_resources, params)
|
2597
|
+
req.send_request(options)
|
2598
|
+
end
|
2599
|
+
|
2059
2600
|
# List major or minor versions of an environment template with detail
|
2060
2601
|
# data.
|
2061
2602
|
#
|
2062
2603
|
# @option params [String] :major_version
|
2063
2604
|
# To view a list of minor of versions under a major version of an
|
2064
|
-
# environment template, include `
|
2605
|
+
# environment template, include `major Version`.
|
2065
2606
|
#
|
2066
2607
|
# To view a list of major versions of an environment template, *exclude*
|
2067
|
-
# `
|
2608
|
+
# `major Version`.
|
2068
2609
|
#
|
2069
2610
|
# @option params [Integer] :max_results
|
2070
2611
|
# The maximum number of major or minor versions of an environment
|
@@ -2226,6 +2767,185 @@ module Aws::Proton
|
|
2226
2767
|
req.send_request(options)
|
2227
2768
|
end
|
2228
2769
|
|
2770
|
+
# List repositories with detail data.
|
2771
|
+
#
|
2772
|
+
# @option params [Integer] :max_results
|
2773
|
+
# The maximum number of repositories to list.
|
2774
|
+
#
|
2775
|
+
# @option params [String] :next_token
|
2776
|
+
# A token to indicate the location of the next repository in the array
|
2777
|
+
# of repositories, after the list of repositories previously requested.
|
2778
|
+
#
|
2779
|
+
# @return [Types::ListRepositoriesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2780
|
+
#
|
2781
|
+
# * {Types::ListRepositoriesOutput#next_token #next_token} => String
|
2782
|
+
# * {Types::ListRepositoriesOutput#repositories #repositories} => Array<Types::RepositorySummary>
|
2783
|
+
#
|
2784
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2785
|
+
#
|
2786
|
+
# @example Request syntax with placeholder values
|
2787
|
+
#
|
2788
|
+
# resp = client.list_repositories({
|
2789
|
+
# max_results: 1,
|
2790
|
+
# next_token: "NextToken",
|
2791
|
+
# })
|
2792
|
+
#
|
2793
|
+
# @example Response structure
|
2794
|
+
#
|
2795
|
+
# resp.next_token #=> String
|
2796
|
+
# resp.repositories #=> Array
|
2797
|
+
# resp.repositories[0].arn #=> String
|
2798
|
+
# resp.repositories[0].name #=> String
|
2799
|
+
# resp.repositories[0].provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2800
|
+
#
|
2801
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListRepositories AWS API Documentation
|
2802
|
+
#
|
2803
|
+
# @overload list_repositories(params = {})
|
2804
|
+
# @param [Hash] params ({})
|
2805
|
+
def list_repositories(params = {}, options = {})
|
2806
|
+
req = build_request(:list_repositories, params)
|
2807
|
+
req.send_request(options)
|
2808
|
+
end
|
2809
|
+
|
2810
|
+
# List repository sync definitions with detail data.
|
2811
|
+
#
|
2812
|
+
# @option params [String] :next_token
|
2813
|
+
# A token to indicate the location of the next repository sync
|
2814
|
+
# definition in the array of repository sync definitions, after the list
|
2815
|
+
# of repository sync definitions previously requested.
|
2816
|
+
#
|
2817
|
+
# @option params [required, String] :repository_name
|
2818
|
+
# The repository name.
|
2819
|
+
#
|
2820
|
+
# @option params [required, String] :repository_provider
|
2821
|
+
# The repository provider.
|
2822
|
+
#
|
2823
|
+
# @option params [required, String] :sync_type
|
2824
|
+
# The sync type. The only supported value is `TEMPLATE_SYNC`.
|
2825
|
+
#
|
2826
|
+
# @return [Types::ListRepositorySyncDefinitionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2827
|
+
#
|
2828
|
+
# * {Types::ListRepositorySyncDefinitionsOutput#next_token #next_token} => String
|
2829
|
+
# * {Types::ListRepositorySyncDefinitionsOutput#sync_definitions #sync_definitions} => Array<Types::RepositorySyncDefinition>
|
2830
|
+
#
|
2831
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2832
|
+
#
|
2833
|
+
# @example Request syntax with placeholder values
|
2834
|
+
#
|
2835
|
+
# resp = client.list_repository_sync_definitions({
|
2836
|
+
# next_token: "EmptyNextToken",
|
2837
|
+
# repository_name: "RepositoryName", # required
|
2838
|
+
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
2839
|
+
# sync_type: "TEMPLATE_SYNC", # required, accepts TEMPLATE_SYNC
|
2840
|
+
# })
|
2841
|
+
#
|
2842
|
+
# @example Response structure
|
2843
|
+
#
|
2844
|
+
# resp.next_token #=> String
|
2845
|
+
# resp.sync_definitions #=> Array
|
2846
|
+
# resp.sync_definitions[0].branch #=> String
|
2847
|
+
# resp.sync_definitions[0].directory #=> String
|
2848
|
+
# resp.sync_definitions[0].parent #=> String
|
2849
|
+
# resp.sync_definitions[0].target #=> String
|
2850
|
+
#
|
2851
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListRepositorySyncDefinitions AWS API Documentation
|
2852
|
+
#
|
2853
|
+
# @overload list_repository_sync_definitions(params = {})
|
2854
|
+
# @param [Hash] params ({})
|
2855
|
+
def list_repository_sync_definitions(params = {}, options = {})
|
2856
|
+
req = build_request(:list_repository_sync_definitions, params)
|
2857
|
+
req.send_request(options)
|
2858
|
+
end
|
2859
|
+
|
2860
|
+
# View a list service instance infrastructure as code outputs with
|
2861
|
+
# detail data.
|
2862
|
+
#
|
2863
|
+
# @option params [String] :next_token
|
2864
|
+
# A token to indicate the location of the next output in the array of
|
2865
|
+
# outputs, after the list of outputs that was previously requested.
|
2866
|
+
#
|
2867
|
+
# @option params [required, String] :service_instance_name
|
2868
|
+
# The service instance name.
|
2869
|
+
#
|
2870
|
+
# @option params [required, String] :service_name
|
2871
|
+
# The service name.
|
2872
|
+
#
|
2873
|
+
# @return [Types::ListServiceInstanceOutputsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2874
|
+
#
|
2875
|
+
# * {Types::ListServiceInstanceOutputsOutput#next_token #next_token} => String
|
2876
|
+
# * {Types::ListServiceInstanceOutputsOutput#outputs #outputs} => Array<Types::Output>
|
2877
|
+
#
|
2878
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2879
|
+
#
|
2880
|
+
# @example Request syntax with placeholder values
|
2881
|
+
#
|
2882
|
+
# resp = client.list_service_instance_outputs({
|
2883
|
+
# next_token: "EmptyNextToken",
|
2884
|
+
# service_instance_name: "ResourceName", # required
|
2885
|
+
# service_name: "ResourceName", # required
|
2886
|
+
# })
|
2887
|
+
#
|
2888
|
+
# @example Response structure
|
2889
|
+
#
|
2890
|
+
# resp.next_token #=> String
|
2891
|
+
# resp.outputs #=> Array
|
2892
|
+
# resp.outputs[0].key #=> String
|
2893
|
+
# resp.outputs[0].value_string #=> String
|
2894
|
+
#
|
2895
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceInstanceOutputs AWS API Documentation
|
2896
|
+
#
|
2897
|
+
# @overload list_service_instance_outputs(params = {})
|
2898
|
+
# @param [Hash] params ({})
|
2899
|
+
def list_service_instance_outputs(params = {}, options = {})
|
2900
|
+
req = build_request(:list_service_instance_outputs, params)
|
2901
|
+
req.send_request(options)
|
2902
|
+
end
|
2903
|
+
|
2904
|
+
# List provisioned resources for a service instance with details.
|
2905
|
+
#
|
2906
|
+
# @option params [String] :next_token
|
2907
|
+
# A token to indicate the location of the next provisioned resource in
|
2908
|
+
# the array of provisioned resources, after the list of provisioned
|
2909
|
+
# resources that was previously requested.
|
2910
|
+
#
|
2911
|
+
# @option params [required, String] :service_instance_name
|
2912
|
+
# The service instance name.
|
2913
|
+
#
|
2914
|
+
# @option params [required, String] :service_name
|
2915
|
+
# The service name.
|
2916
|
+
#
|
2917
|
+
# @return [Types::ListServiceInstanceProvisionedResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2918
|
+
#
|
2919
|
+
# * {Types::ListServiceInstanceProvisionedResourcesOutput#next_token #next_token} => String
|
2920
|
+
# * {Types::ListServiceInstanceProvisionedResourcesOutput#provisioned_resources #provisioned_resources} => Array<Types::ProvisionedResource>
|
2921
|
+
#
|
2922
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2923
|
+
#
|
2924
|
+
# @example Request syntax with placeholder values
|
2925
|
+
#
|
2926
|
+
# resp = client.list_service_instance_provisioned_resources({
|
2927
|
+
# next_token: "EmptyNextToken",
|
2928
|
+
# service_instance_name: "ResourceName", # required
|
2929
|
+
# service_name: "ResourceName", # required
|
2930
|
+
# })
|
2931
|
+
#
|
2932
|
+
# @example Response structure
|
2933
|
+
#
|
2934
|
+
# resp.next_token #=> String
|
2935
|
+
# resp.provisioned_resources #=> Array
|
2936
|
+
# resp.provisioned_resources[0].identifier #=> String
|
2937
|
+
# resp.provisioned_resources[0].name #=> String
|
2938
|
+
# resp.provisioned_resources[0].provisioning_engine #=> String, one of "CLOUDFORMATION", "TERRAFORM"
|
2939
|
+
#
|
2940
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceInstanceProvisionedResources AWS API Documentation
|
2941
|
+
#
|
2942
|
+
# @overload list_service_instance_provisioned_resources(params = {})
|
2943
|
+
# @param [Hash] params ({})
|
2944
|
+
def list_service_instance_provisioned_resources(params = {}, options = {})
|
2945
|
+
req = build_request(:list_service_instance_provisioned_resources, params)
|
2946
|
+
req.send_request(options)
|
2947
|
+
end
|
2948
|
+
|
2229
2949
|
# List service instances with summaries of detail data.
|
2230
2950
|
#
|
2231
2951
|
# @option params [Integer] :max_results
|
@@ -2280,14 +3000,95 @@ module Aws::Proton
|
|
2280
3000
|
req.send_request(options)
|
2281
3001
|
end
|
2282
3002
|
|
3003
|
+
# View a list service pipeline infrastructure as code outputs with
|
3004
|
+
# detail.
|
3005
|
+
#
|
3006
|
+
# @option params [String] :next_token
|
3007
|
+
# A token to indicate the location of the next output in the array of
|
3008
|
+
# outputs, after the list of outputs that was previously requested.
|
3009
|
+
#
|
3010
|
+
# @option params [required, String] :service_name
|
3011
|
+
# The service name.
|
3012
|
+
#
|
3013
|
+
# @return [Types::ListServicePipelineOutputsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3014
|
+
#
|
3015
|
+
# * {Types::ListServicePipelineOutputsOutput#next_token #next_token} => String
|
3016
|
+
# * {Types::ListServicePipelineOutputsOutput#outputs #outputs} => Array<Types::Output>
|
3017
|
+
#
|
3018
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3019
|
+
#
|
3020
|
+
# @example Request syntax with placeholder values
|
3021
|
+
#
|
3022
|
+
# resp = client.list_service_pipeline_outputs({
|
3023
|
+
# next_token: "EmptyNextToken",
|
3024
|
+
# service_name: "ResourceName", # required
|
3025
|
+
# })
|
3026
|
+
#
|
3027
|
+
# @example Response structure
|
3028
|
+
#
|
3029
|
+
# resp.next_token #=> String
|
3030
|
+
# resp.outputs #=> Array
|
3031
|
+
# resp.outputs[0].key #=> String
|
3032
|
+
# resp.outputs[0].value_string #=> String
|
3033
|
+
#
|
3034
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServicePipelineOutputs AWS API Documentation
|
3035
|
+
#
|
3036
|
+
# @overload list_service_pipeline_outputs(params = {})
|
3037
|
+
# @param [Hash] params ({})
|
3038
|
+
def list_service_pipeline_outputs(params = {}, options = {})
|
3039
|
+
req = build_request(:list_service_pipeline_outputs, params)
|
3040
|
+
req.send_request(options)
|
3041
|
+
end
|
3042
|
+
|
3043
|
+
# List provisioned resources for a service and pipeline with details.
|
3044
|
+
#
|
3045
|
+
# @option params [String] :next_token
|
3046
|
+
# A token to indicate the location of the next provisioned resource in
|
3047
|
+
# the array of provisioned resources, after the list of provisioned
|
3048
|
+
# resources that was previously requested.
|
3049
|
+
#
|
3050
|
+
# @option params [required, String] :service_name
|
3051
|
+
# The service name.
|
3052
|
+
#
|
3053
|
+
# @return [Types::ListServicePipelineProvisionedResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3054
|
+
#
|
3055
|
+
# * {Types::ListServicePipelineProvisionedResourcesOutput#next_token #next_token} => String
|
3056
|
+
# * {Types::ListServicePipelineProvisionedResourcesOutput#provisioned_resources #provisioned_resources} => Array<Types::ProvisionedResource>
|
3057
|
+
#
|
3058
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3059
|
+
#
|
3060
|
+
# @example Request syntax with placeholder values
|
3061
|
+
#
|
3062
|
+
# resp = client.list_service_pipeline_provisioned_resources({
|
3063
|
+
# next_token: "EmptyNextToken",
|
3064
|
+
# service_name: "ResourceName", # required
|
3065
|
+
# })
|
3066
|
+
#
|
3067
|
+
# @example Response structure
|
3068
|
+
#
|
3069
|
+
# resp.next_token #=> String
|
3070
|
+
# resp.provisioned_resources #=> Array
|
3071
|
+
# resp.provisioned_resources[0].identifier #=> String
|
3072
|
+
# resp.provisioned_resources[0].name #=> String
|
3073
|
+
# resp.provisioned_resources[0].provisioning_engine #=> String, one of "CLOUDFORMATION", "TERRAFORM"
|
3074
|
+
#
|
3075
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServicePipelineProvisionedResources AWS API Documentation
|
3076
|
+
#
|
3077
|
+
# @overload list_service_pipeline_provisioned_resources(params = {})
|
3078
|
+
# @param [Hash] params ({})
|
3079
|
+
def list_service_pipeline_provisioned_resources(params = {}, options = {})
|
3080
|
+
req = build_request(:list_service_pipeline_provisioned_resources, params)
|
3081
|
+
req.send_request(options)
|
3082
|
+
end
|
3083
|
+
|
2283
3084
|
# List major or minor versions of a service template with detail data.
|
2284
3085
|
#
|
2285
3086
|
# @option params [String] :major_version
|
2286
3087
|
# To view a list of minor of versions under a major version of a service
|
2287
|
-
# template, include `
|
3088
|
+
# template, include `major Version`.
|
2288
3089
|
#
|
2289
3090
|
# To view a list of major versions of a service template, *exclude*
|
2290
|
-
# `
|
3091
|
+
# `major Version`.
|
2291
3092
|
#
|
2292
3093
|
# @option params [Integer] :max_results
|
2293
3094
|
# The maximum number of major or minor versions of a service template to
|
@@ -2432,9 +3233,9 @@ module Aws::Proton
|
|
2432
3233
|
req.send_request(options)
|
2433
3234
|
end
|
2434
3235
|
|
2435
|
-
# List tags for a resource. For more information, see *
|
2436
|
-
#
|
2437
|
-
#
|
3236
|
+
# List tags for a resource. For more information, see *Proton resources
|
3237
|
+
# and tagging* in the [Proton Administrator Guide][1] or [Proton User
|
3238
|
+
# Guide][2].
|
2438
3239
|
#
|
2439
3240
|
#
|
2440
3241
|
#
|
@@ -2483,6 +3284,62 @@ module Aws::Proton
|
|
2483
3284
|
req.send_request(options)
|
2484
3285
|
end
|
2485
3286
|
|
3287
|
+
# Notify Proton of status changes to a provisioned resource when you use
|
3288
|
+
# pull request provisioning. For more information, see [Template
|
3289
|
+
# bundles][1].
|
3290
|
+
#
|
3291
|
+
# Provisioning by pull request is currently in feature preview and is
|
3292
|
+
# only usable with Terraform based Proton Templates. To learn more about
|
3293
|
+
# [Amazon Web Services Feature Preview terms][2], see section 2 on Beta
|
3294
|
+
# and Previews.
|
3295
|
+
#
|
3296
|
+
#
|
3297
|
+
#
|
3298
|
+
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-bundles.html
|
3299
|
+
# [2]: https://aws.amazon.com/service-terms
|
3300
|
+
#
|
3301
|
+
# @option params [String] :deployment_id
|
3302
|
+
# The deployment ID for your provisioned resource.
|
3303
|
+
#
|
3304
|
+
# @option params [Array<Types::Output>] :outputs
|
3305
|
+
# The provisioned resource state change detail data that's returned by
|
3306
|
+
# Proton.
|
3307
|
+
#
|
3308
|
+
# @option params [required, String] :resource_arn
|
3309
|
+
# The provisioned resource Amazon Resource Name (ARN).
|
3310
|
+
#
|
3311
|
+
# @option params [required, String] :status
|
3312
|
+
# The status of your provisioned resource.
|
3313
|
+
#
|
3314
|
+
# @option params [String] :status_message
|
3315
|
+
# The deployment status message for your provisioned resource.
|
3316
|
+
#
|
3317
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3318
|
+
#
|
3319
|
+
# @example Request syntax with placeholder values
|
3320
|
+
#
|
3321
|
+
# resp = client.notify_resource_deployment_status_change({
|
3322
|
+
# deployment_id: "DeploymentId",
|
3323
|
+
# outputs: [
|
3324
|
+
# {
|
3325
|
+
# key: "OutputKey",
|
3326
|
+
# value_string: "OutputValueString",
|
3327
|
+
# },
|
3328
|
+
# ],
|
3329
|
+
# resource_arn: "Arn", # required
|
3330
|
+
# status: "IN_PROGRESS", # required, accepts IN_PROGRESS, FAILED, SUCCEEDED
|
3331
|
+
# status_message: "SyntheticNotifyResourceDeploymentStatusChangeInputString",
|
3332
|
+
# })
|
3333
|
+
#
|
3334
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/NotifyResourceDeploymentStatusChange AWS API Documentation
|
3335
|
+
#
|
3336
|
+
# @overload notify_resource_deployment_status_change(params = {})
|
3337
|
+
# @param [Hash] params ({})
|
3338
|
+
def notify_resource_deployment_status_change(params = {}, options = {})
|
3339
|
+
req = build_request(:notify_resource_deployment_status_change, params)
|
3340
|
+
req.send_request(options)
|
3341
|
+
end
|
3342
|
+
|
2486
3343
|
# In a management account, reject an environment account connection from
|
2487
3344
|
# another environment account.
|
2488
3345
|
#
|
@@ -2494,7 +3351,7 @@ module Aws::Proton
|
|
2494
3351
|
# to an environment.
|
2495
3352
|
#
|
2496
3353
|
# For more information, see [Environment account connections][1] in the
|
2497
|
-
# *
|
3354
|
+
# *Proton Administrator guide*.
|
2498
3355
|
#
|
2499
3356
|
#
|
2500
3357
|
#
|
@@ -2534,9 +3391,9 @@ module Aws::Proton
|
|
2534
3391
|
req.send_request(options)
|
2535
3392
|
end
|
2536
3393
|
|
2537
|
-
# Tag a resource. For more information, see *
|
2538
|
-
# tagging* in the [
|
2539
|
-
#
|
3394
|
+
# Tag a resource. For more information, see *Proton resources and
|
3395
|
+
# tagging* in the [Proton Administrator Guide][1] or [Proton User
|
3396
|
+
# Guide][2].
|
2540
3397
|
#
|
2541
3398
|
#
|
2542
3399
|
#
|
@@ -2573,9 +3430,9 @@ module Aws::Proton
|
|
2573
3430
|
req.send_request(options)
|
2574
3431
|
end
|
2575
3432
|
|
2576
|
-
# Remove a tag from a resource. For more information, see *
|
2577
|
-
# resources and tagging* in the [
|
2578
|
-
# [
|
3433
|
+
# Remove a tag from a resource. For more information, see *Proton
|
3434
|
+
# resources and tagging* in the [Proton Administrator Guide][1] or
|
3435
|
+
# [Proton User Guide][2].
|
2579
3436
|
#
|
2580
3437
|
#
|
2581
3438
|
#
|
@@ -2608,11 +3465,31 @@ module Aws::Proton
|
|
2608
3465
|
req.send_request(options)
|
2609
3466
|
end
|
2610
3467
|
|
2611
|
-
# Update the
|
3468
|
+
# Update the Proton service pipeline role or repository settings.
|
3469
|
+
#
|
3470
|
+
# @option params [Types::RepositoryBranchInput] :pipeline_provisioning_repository
|
3471
|
+
# The repository that you provide with pull request provisioning.
|
3472
|
+
#
|
3473
|
+
# Provisioning by pull request is currently in feature preview and is
|
3474
|
+
# only usable with Terraform based Proton Templates. To learn more about
|
3475
|
+
# [Amazon Web Services Feature Preview terms][1], see section 2 on Beta
|
3476
|
+
# and Previews.
|
3477
|
+
#
|
3478
|
+
#
|
3479
|
+
#
|
3480
|
+
# [1]: https://aws.amazon.com/service-terms
|
2612
3481
|
#
|
2613
3482
|
# @option params [String] :pipeline_service_role_arn
|
2614
|
-
# The Amazon Resource Name (ARN) of the
|
2615
|
-
#
|
3483
|
+
# The Amazon Resource Name (ARN) of the Proton pipeline service role.
|
3484
|
+
#
|
3485
|
+
# Provisioning by pull request is currently in feature preview and is
|
3486
|
+
# only usable with Terraform based Proton Templates. To learn more about
|
3487
|
+
# [Amazon Web Services Feature Preview terms][1], see section 2 on Beta
|
3488
|
+
# and Previews.
|
3489
|
+
#
|
3490
|
+
#
|
3491
|
+
#
|
3492
|
+
# [1]: https://aws.amazon.com/service-terms
|
2616
3493
|
#
|
2617
3494
|
# @return [Types::UpdateAccountSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2618
3495
|
#
|
@@ -2621,11 +3498,20 @@ module Aws::Proton
|
|
2621
3498
|
# @example Request syntax with placeholder values
|
2622
3499
|
#
|
2623
3500
|
# resp = client.update_account_settings({
|
2624
|
-
#
|
3501
|
+
# pipeline_provisioning_repository: {
|
3502
|
+
# branch: "GitBranchName", # required
|
3503
|
+
# name: "RepositoryName", # required
|
3504
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
3505
|
+
# },
|
3506
|
+
# pipeline_service_role_arn: "PipelineRoleArn",
|
2625
3507
|
# })
|
2626
3508
|
#
|
2627
3509
|
# @example Response structure
|
2628
3510
|
#
|
3511
|
+
# resp.account_settings.pipeline_provisioning_repository.arn #=> String
|
3512
|
+
# resp.account_settings.pipeline_provisioning_repository.branch #=> String
|
3513
|
+
# resp.account_settings.pipeline_provisioning_repository.name #=> String
|
3514
|
+
# resp.account_settings.pipeline_provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2629
3515
|
# resp.account_settings.pipeline_service_role_arn #=> String
|
2630
3516
|
#
|
2631
3517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateAccountSettings AWS API Documentation
|
@@ -2640,8 +3526,9 @@ module Aws::Proton
|
|
2640
3526
|
# Update an environment.
|
2641
3527
|
#
|
2642
3528
|
# If the environment is associated with an environment account
|
2643
|
-
# connection, *don't* update or include the `protonServiceRoleArn`
|
2644
|
-
# parameter to update or connect to an
|
3529
|
+
# connection, *don't* update or include the `protonServiceRoleArn` and
|
3530
|
+
# `provisioningRepository` parameter to update or connect to an
|
3531
|
+
# environment account connection.
|
2645
3532
|
#
|
2646
3533
|
# You can only update to a new environment account connection if it was
|
2647
3534
|
# created in the same environment account that the current environment
|
@@ -2656,6 +3543,14 @@ module Aws::Proton
|
|
2656
3543
|
# You can update either the `environmentAccountConnectionId` or
|
2657
3544
|
# `protonServiceRoleArn` parameter and value. You can’t update both.
|
2658
3545
|
#
|
3546
|
+
# If the environment was provisioned with pull request provisioning,
|
3547
|
+
# include the `provisioningRepository` parameter and omit the
|
3548
|
+
# `protonServiceRoleArn` and `environmentAccountConnectionId`
|
3549
|
+
# parameters.
|
3550
|
+
#
|
3551
|
+
# If the environment wasn't provisioned with pull request provisioning,
|
3552
|
+
# omit the `provisioningRepository` parameter.
|
3553
|
+
#
|
2659
3554
|
# There are four modes for updating an environment as described in the
|
2660
3555
|
# following. The `deploymentType` field defines the mode.
|
2661
3556
|
#
|
@@ -2748,17 +3643,29 @@ module Aws::Proton
|
|
2748
3643
|
# The name of the environment to update.
|
2749
3644
|
#
|
2750
3645
|
# @option params [String] :proton_service_role_arn
|
2751
|
-
# The Amazon Resource Name (ARN) of the
|
2752
|
-
#
|
3646
|
+
# The Amazon Resource Name (ARN) of the Proton service role that allows
|
3647
|
+
# Proton to make API calls to other services your behalf.
|
3648
|
+
#
|
3649
|
+
# @option params [Types::RepositoryBranchInput] :provisioning_repository
|
3650
|
+
# The repository that you provide with pull request provisioning.
|
3651
|
+
#
|
3652
|
+
# Provisioning by pull request is currently in feature preview and is
|
3653
|
+
# only usable with Terraform based Proton Templates. To learn more about
|
3654
|
+
# [Amazon Web Services Feature Preview terms][1], see section 2 on Beta
|
3655
|
+
# and Previews.
|
3656
|
+
#
|
3657
|
+
#
|
3658
|
+
#
|
3659
|
+
# [1]: https://aws.amazon.com/service-terms
|
2753
3660
|
#
|
2754
3661
|
# @option params [String] :spec
|
2755
3662
|
# The formatted specification that defines the update.
|
2756
3663
|
#
|
2757
3664
|
# @option params [String] :template_major_version
|
2758
|
-
# The
|
3665
|
+
# The major version of the environment to update.
|
2759
3666
|
#
|
2760
3667
|
# @option params [String] :template_minor_version
|
2761
|
-
# The
|
3668
|
+
# The minor version of the environment to update.
|
2762
3669
|
#
|
2763
3670
|
# @return [Types::UpdateEnvironmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2764
3671
|
#
|
@@ -2772,6 +3679,11 @@ module Aws::Proton
|
|
2772
3679
|
# environment_account_connection_id: "EnvironmentAccountConnectionId",
|
2773
3680
|
# name: "ResourceName", # required
|
2774
3681
|
# proton_service_role_arn: "Arn",
|
3682
|
+
# provisioning_repository: {
|
3683
|
+
# branch: "GitBranchName", # required
|
3684
|
+
# name: "RepositoryName", # required
|
3685
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
3686
|
+
# },
|
2775
3687
|
# spec: "SpecContents",
|
2776
3688
|
# template_major_version: "TemplateVersionPart",
|
2777
3689
|
# template_minor_version: "TemplateVersionPart",
|
@@ -2791,6 +3703,10 @@ module Aws::Proton
|
|
2791
3703
|
# resp.environment.name #=> String
|
2792
3704
|
# resp.environment.proton_service_role_arn #=> String
|
2793
3705
|
# resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
|
3706
|
+
# resp.environment.provisioning_repository.arn #=> String
|
3707
|
+
# resp.environment.provisioning_repository.branch #=> String
|
3708
|
+
# resp.environment.provisioning_repository.name #=> String
|
3709
|
+
# resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2794
3710
|
# resp.environment.spec #=> String
|
2795
3711
|
# resp.environment.template_major_version #=> String
|
2796
3712
|
# resp.environment.template_minor_version #=> String
|
@@ -2809,7 +3725,7 @@ module Aws::Proton
|
|
2809
3725
|
# use a new IAM role.
|
2810
3726
|
#
|
2811
3727
|
# For more information, see [Environment account connections][1] in the
|
2812
|
-
# *
|
3728
|
+
# *Proton Administrator guide*.
|
2813
3729
|
#
|
2814
3730
|
#
|
2815
3731
|
#
|
@@ -2905,8 +3821,8 @@ module Aws::Proton
|
|
2905
3821
|
# A description of environment template version to update.
|
2906
3822
|
#
|
2907
3823
|
# @option params [required, String] :major_version
|
2908
|
-
# To update a major version of an environment template, include
|
2909
|
-
#
|
3824
|
+
# To update a major version of an environment template, include `major
|
3825
|
+
# Version`.
|
2910
3826
|
#
|
2911
3827
|
# @option params [required, String] :minor_version
|
2912
3828
|
# To update a minor version of an environment template, include
|
@@ -2977,8 +3893,8 @@ module Aws::Proton
|
|
2977
3893
|
# Lists the service instances to add and the existing service instances
|
2978
3894
|
# to remain. Omit the existing service instances to delete from the
|
2979
3895
|
# list. *Don't* include edits to the existing service instances or
|
2980
|
-
# pipeline. For more information, see *Edit a service* in the [
|
2981
|
-
#
|
3896
|
+
# pipeline. For more information, see *Edit a service* in the [Proton
|
3897
|
+
# Administrator Guide][1] or the [Proton User Guide][2].
|
2982
3898
|
#
|
2983
3899
|
#
|
2984
3900
|
#
|
@@ -3353,8 +4269,8 @@ module Aws::Proton
|
|
3353
4269
|
# A description of a service template version to update.
|
3354
4270
|
#
|
3355
4271
|
# @option params [required, String] :major_version
|
3356
|
-
# To update a major version of a service template, include
|
3357
|
-
#
|
4272
|
+
# To update a major version of a service template, include `major
|
4273
|
+
# Version`.
|
3358
4274
|
#
|
3359
4275
|
# @option params [required, String] :minor_version
|
3360
4276
|
# To update a minor version of a service template, include
|
@@ -3412,6 +4328,61 @@ module Aws::Proton
|
|
3412
4328
|
req.send_request(options)
|
3413
4329
|
end
|
3414
4330
|
|
4331
|
+
# Update template sync configuration parameters, except for the
|
4332
|
+
# `templateName` and `templateType`.
|
4333
|
+
#
|
4334
|
+
# @option params [required, String] :branch
|
4335
|
+
# The repository branch.
|
4336
|
+
#
|
4337
|
+
# @option params [required, String] :repository_name
|
4338
|
+
# The name of the repository, for example `myrepos/myrepo`.
|
4339
|
+
#
|
4340
|
+
# @option params [required, String] :repository_provider
|
4341
|
+
# The repository provider.
|
4342
|
+
#
|
4343
|
+
# @option params [String] :subdirectory
|
4344
|
+
# A subdirectory path to your template bundle version. When included,
|
4345
|
+
# limits the template bundle search to this repository directory.
|
4346
|
+
#
|
4347
|
+
# @option params [required, String] :template_name
|
4348
|
+
# The synced template name.
|
4349
|
+
#
|
4350
|
+
# @option params [required, String] :template_type
|
4351
|
+
# The synced template type.
|
4352
|
+
#
|
4353
|
+
# @return [Types::UpdateTemplateSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4354
|
+
#
|
4355
|
+
# * {Types::UpdateTemplateSyncConfigOutput#template_sync_config #template_sync_config} => Types::TemplateSyncConfig
|
4356
|
+
#
|
4357
|
+
# @example Request syntax with placeholder values
|
4358
|
+
#
|
4359
|
+
# resp = client.update_template_sync_config({
|
4360
|
+
# branch: "GitBranchName", # required
|
4361
|
+
# repository_name: "RepositoryName", # required
|
4362
|
+
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
4363
|
+
# subdirectory: "Subdirectory",
|
4364
|
+
# template_name: "ResourceName", # required
|
4365
|
+
# template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
|
4366
|
+
# })
|
4367
|
+
#
|
4368
|
+
# @example Response structure
|
4369
|
+
#
|
4370
|
+
# resp.template_sync_config.branch #=> String
|
4371
|
+
# resp.template_sync_config.repository_name #=> String
|
4372
|
+
# resp.template_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
4373
|
+
# resp.template_sync_config.subdirectory #=> String
|
4374
|
+
# resp.template_sync_config.template_name #=> String
|
4375
|
+
# resp.template_sync_config.template_type #=> String, one of "ENVIRONMENT", "SERVICE"
|
4376
|
+
#
|
4377
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateTemplateSyncConfig AWS API Documentation
|
4378
|
+
#
|
4379
|
+
# @overload update_template_sync_config(params = {})
|
4380
|
+
# @param [Hash] params ({})
|
4381
|
+
def update_template_sync_config(params = {}, options = {})
|
4382
|
+
req = build_request(:update_template_sync_config, params)
|
4383
|
+
req.send_request(options)
|
4384
|
+
end
|
4385
|
+
|
3415
4386
|
# @!endgroup
|
3416
4387
|
|
3417
4388
|
# @param params ({})
|
@@ -3425,7 +4396,7 @@ module Aws::Proton
|
|
3425
4396
|
params: params,
|
3426
4397
|
config: config)
|
3427
4398
|
context[:gem_name] = 'aws-sdk-proton'
|
3428
|
-
context[:gem_version] = '1.
|
4399
|
+
context[:gem_version] = '1.10.0'
|
3429
4400
|
Seahorse::Client::Request.new(handlers, context)
|
3430
4401
|
end
|
3431
4402
|
|