aws-sdk-codecatalyst 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-codecatalyst/client.rb +292 -1
- data/lib/aws-sdk-codecatalyst/client_api.rb +184 -0
- data/lib/aws-sdk-codecatalyst/endpoints.rb +91 -0
- data/lib/aws-sdk-codecatalyst/plugins/endpoints.rb +14 -0
- data/lib/aws-sdk-codecatalyst/types.rb +342 -1
- data/lib/aws-sdk-codecatalyst.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97e803d2d0d54a34d95c56ee59114bacf613cc1c02c2c5f1710c2ffb44ad1c9c
|
4
|
+
data.tar.gz: d5660919a818bdb77654977ac99100e668bd761054c07b6f0ea680fa3206c888
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8076587a154185d295f7320cd7bd3f720e4bd4f1f87edd2f3bc9c84e798afd73ce4c79ce0fad0469506a68c5f68e08e06f71a6c7c0a375fedf52a2d1aed5e95f
|
7
|
+
data.tar.gz: f8f4338d6f7f536a63b225706ff4046f16dd8a11ed1241500c8dae0935b9f4103afe83ff8c258072130d8ae3971de45ff5cad6ae7391cd88d27c54ed4ea7218f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.10.0 (2023-07-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for updating and deleting spaces and projects in Amazon CodeCatalyst. It also adds support for creating, getting, and deleting source repositories in CodeCatalyst projects.
|
8
|
+
|
4
9
|
1.9.0 (2023-07-11)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.10.0
|
@@ -594,6 +594,59 @@ module Aws::CodeCatalyst
|
|
594
594
|
req.send_request(options)
|
595
595
|
end
|
596
596
|
|
597
|
+
# Creates an empty Git-based source repository in a specified project.
|
598
|
+
# The repository is created with an initial empty commit with a default
|
599
|
+
# branch named `main`.
|
600
|
+
#
|
601
|
+
# @option params [required, String] :space_name
|
602
|
+
# The name of the space.
|
603
|
+
#
|
604
|
+
# @option params [required, String] :project_name
|
605
|
+
# The name of the project in the space.
|
606
|
+
#
|
607
|
+
# @option params [required, String] :name
|
608
|
+
# The name of the source repository. For more information about name
|
609
|
+
# requirements, see [Quotas for source repositories][1].
|
610
|
+
#
|
611
|
+
#
|
612
|
+
#
|
613
|
+
# [1]: https://docs.aws.amazon.com/codecatalyst/latest/userguide/source-quotas.html
|
614
|
+
#
|
615
|
+
# @option params [String] :description
|
616
|
+
# The description of the source repository.
|
617
|
+
#
|
618
|
+
# @return [Types::CreateSourceRepositoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
619
|
+
#
|
620
|
+
# * {Types::CreateSourceRepositoryResponse#space_name #space_name} => String
|
621
|
+
# * {Types::CreateSourceRepositoryResponse#project_name #project_name} => String
|
622
|
+
# * {Types::CreateSourceRepositoryResponse#name #name} => String
|
623
|
+
# * {Types::CreateSourceRepositoryResponse#description #description} => String
|
624
|
+
#
|
625
|
+
# @example Request syntax with placeholder values
|
626
|
+
#
|
627
|
+
# resp = client.create_source_repository({
|
628
|
+
# space_name: "NameString", # required
|
629
|
+
# project_name: "NameString", # required
|
630
|
+
# name: "SourceRepositoryNameString", # required
|
631
|
+
# description: "SourceRepositoryDescriptionString",
|
632
|
+
# })
|
633
|
+
#
|
634
|
+
# @example Response structure
|
635
|
+
#
|
636
|
+
# resp.space_name #=> String
|
637
|
+
# resp.project_name #=> String
|
638
|
+
# resp.name #=> String
|
639
|
+
# resp.description #=> String
|
640
|
+
#
|
641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/CreateSourceRepository AWS API Documentation
|
642
|
+
#
|
643
|
+
# @overload create_source_repository(params = {})
|
644
|
+
# @param [Hash] params ({})
|
645
|
+
def create_source_repository(params = {}, options = {})
|
646
|
+
req = build_request(:create_source_repository, params)
|
647
|
+
req.send_request(options)
|
648
|
+
end
|
649
|
+
|
597
650
|
# Creates a branch in a specified source repository in Amazon
|
598
651
|
# CodeCatalyst.
|
599
652
|
#
|
@@ -719,6 +772,120 @@ module Aws::CodeCatalyst
|
|
719
772
|
req.send_request(options)
|
720
773
|
end
|
721
774
|
|
775
|
+
# Deletes a project in a space.
|
776
|
+
#
|
777
|
+
# @option params [required, String] :space_name
|
778
|
+
# The name of the space.
|
779
|
+
#
|
780
|
+
# @option params [required, String] :name
|
781
|
+
# The name of the project in the space. To retrieve a list of project
|
782
|
+
# names, use ListProjects.
|
783
|
+
#
|
784
|
+
# @return [Types::DeleteProjectResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
785
|
+
#
|
786
|
+
# * {Types::DeleteProjectResponse#space_name #space_name} => String
|
787
|
+
# * {Types::DeleteProjectResponse#name #name} => String
|
788
|
+
# * {Types::DeleteProjectResponse#display_name #display_name} => String
|
789
|
+
#
|
790
|
+
# @example Request syntax with placeholder values
|
791
|
+
#
|
792
|
+
# resp = client.delete_project({
|
793
|
+
# space_name: "NameString", # required
|
794
|
+
# name: "NameString", # required
|
795
|
+
# })
|
796
|
+
#
|
797
|
+
# @example Response structure
|
798
|
+
#
|
799
|
+
# resp.space_name #=> String
|
800
|
+
# resp.name #=> String
|
801
|
+
# resp.display_name #=> String
|
802
|
+
#
|
803
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/DeleteProject AWS API Documentation
|
804
|
+
#
|
805
|
+
# @overload delete_project(params = {})
|
806
|
+
# @param [Hash] params ({})
|
807
|
+
def delete_project(params = {}, options = {})
|
808
|
+
req = build_request(:delete_project, params)
|
809
|
+
req.send_request(options)
|
810
|
+
end
|
811
|
+
|
812
|
+
# Deletes a source repository in Amazon CodeCatalyst. You cannot use
|
813
|
+
# this API to delete a linked repository. It can only be used to delete
|
814
|
+
# a Amazon CodeCatalyst source repository.
|
815
|
+
#
|
816
|
+
# @option params [required, String] :space_name
|
817
|
+
# The name of the space.
|
818
|
+
#
|
819
|
+
# @option params [required, String] :project_name
|
820
|
+
# The name of the project in the space.
|
821
|
+
#
|
822
|
+
# @option params [required, String] :name
|
823
|
+
# The name of the source repository.
|
824
|
+
#
|
825
|
+
# @return [Types::DeleteSourceRepositoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
826
|
+
#
|
827
|
+
# * {Types::DeleteSourceRepositoryResponse#space_name #space_name} => String
|
828
|
+
# * {Types::DeleteSourceRepositoryResponse#project_name #project_name} => String
|
829
|
+
# * {Types::DeleteSourceRepositoryResponse#name #name} => String
|
830
|
+
#
|
831
|
+
# @example Request syntax with placeholder values
|
832
|
+
#
|
833
|
+
# resp = client.delete_source_repository({
|
834
|
+
# space_name: "NameString", # required
|
835
|
+
# project_name: "NameString", # required
|
836
|
+
# name: "SourceRepositoryNameString", # required
|
837
|
+
# })
|
838
|
+
#
|
839
|
+
# @example Response structure
|
840
|
+
#
|
841
|
+
# resp.space_name #=> String
|
842
|
+
# resp.project_name #=> String
|
843
|
+
# resp.name #=> String
|
844
|
+
#
|
845
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/DeleteSourceRepository AWS API Documentation
|
846
|
+
#
|
847
|
+
# @overload delete_source_repository(params = {})
|
848
|
+
# @param [Hash] params ({})
|
849
|
+
def delete_source_repository(params = {}, options = {})
|
850
|
+
req = build_request(:delete_source_repository, params)
|
851
|
+
req.send_request(options)
|
852
|
+
end
|
853
|
+
|
854
|
+
# Deletes a space.
|
855
|
+
#
|
856
|
+
# Deleting a space cannot be undone. Additionally, since space names
|
857
|
+
# must be unique across Amazon CodeCatalyst, you cannot reuse names of
|
858
|
+
# deleted spaces.
|
859
|
+
#
|
860
|
+
# @option params [required, String] :name
|
861
|
+
# The name of the space. To retrieve a list of space names, use
|
862
|
+
# ListSpaces.
|
863
|
+
#
|
864
|
+
# @return [Types::DeleteSpaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
865
|
+
#
|
866
|
+
# * {Types::DeleteSpaceResponse#name #name} => String
|
867
|
+
# * {Types::DeleteSpaceResponse#display_name #display_name} => String
|
868
|
+
#
|
869
|
+
# @example Request syntax with placeholder values
|
870
|
+
#
|
871
|
+
# resp = client.delete_space({
|
872
|
+
# name: "NameString", # required
|
873
|
+
# })
|
874
|
+
#
|
875
|
+
# @example Response structure
|
876
|
+
#
|
877
|
+
# resp.name #=> String
|
878
|
+
# resp.display_name #=> String
|
879
|
+
#
|
880
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/DeleteSpace AWS API Documentation
|
881
|
+
#
|
882
|
+
# @overload delete_space(params = {})
|
883
|
+
# @param [Hash] params ({})
|
884
|
+
def delete_space(params = {}, options = {})
|
885
|
+
req = build_request(:delete_space, params)
|
886
|
+
req.send_request(options)
|
887
|
+
end
|
888
|
+
|
722
889
|
# Returns information about a Dev Environment for a source repository in
|
723
890
|
# a project. Dev Environments are specific to the user who creates them.
|
724
891
|
#
|
@@ -824,6 +991,52 @@ module Aws::CodeCatalyst
|
|
824
991
|
req.send_request(options)
|
825
992
|
end
|
826
993
|
|
994
|
+
# Returns information about a source repository.
|
995
|
+
#
|
996
|
+
# @option params [required, String] :space_name
|
997
|
+
# The name of the space.
|
998
|
+
#
|
999
|
+
# @option params [required, String] :project_name
|
1000
|
+
# The name of the project in the space.
|
1001
|
+
#
|
1002
|
+
# @option params [required, String] :name
|
1003
|
+
# The name of the source repository.
|
1004
|
+
#
|
1005
|
+
# @return [Types::GetSourceRepositoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1006
|
+
#
|
1007
|
+
# * {Types::GetSourceRepositoryResponse#space_name #space_name} => String
|
1008
|
+
# * {Types::GetSourceRepositoryResponse#project_name #project_name} => String
|
1009
|
+
# * {Types::GetSourceRepositoryResponse#name #name} => String
|
1010
|
+
# * {Types::GetSourceRepositoryResponse#description #description} => String
|
1011
|
+
# * {Types::GetSourceRepositoryResponse#last_updated_time #last_updated_time} => Time
|
1012
|
+
# * {Types::GetSourceRepositoryResponse#created_time #created_time} => Time
|
1013
|
+
#
|
1014
|
+
# @example Request syntax with placeholder values
|
1015
|
+
#
|
1016
|
+
# resp = client.get_source_repository({
|
1017
|
+
# space_name: "NameString", # required
|
1018
|
+
# project_name: "NameString", # required
|
1019
|
+
# name: "SourceRepositoryNameString", # required
|
1020
|
+
# })
|
1021
|
+
#
|
1022
|
+
# @example Response structure
|
1023
|
+
#
|
1024
|
+
# resp.space_name #=> String
|
1025
|
+
# resp.project_name #=> String
|
1026
|
+
# resp.name #=> String
|
1027
|
+
# resp.description #=> String
|
1028
|
+
# resp.last_updated_time #=> Time
|
1029
|
+
# resp.created_time #=> Time
|
1030
|
+
#
|
1031
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/GetSourceRepository AWS API Documentation
|
1032
|
+
#
|
1033
|
+
# @overload get_source_repository(params = {})
|
1034
|
+
# @param [Hash] params ({})
|
1035
|
+
def get_source_repository(params = {}, options = {})
|
1036
|
+
req = build_request(:get_source_repository, params)
|
1037
|
+
req.send_request(options)
|
1038
|
+
end
|
1039
|
+
|
827
1040
|
# Returns information about the URLs that can be used with a Git client
|
828
1041
|
# to clone a source repository.
|
829
1042
|
#
|
@@ -1745,6 +1958,84 @@ module Aws::CodeCatalyst
|
|
1745
1958
|
req.send_request(options)
|
1746
1959
|
end
|
1747
1960
|
|
1961
|
+
# Changes one or more values for a project.
|
1962
|
+
#
|
1963
|
+
# @option params [required, String] :space_name
|
1964
|
+
# The name of the space.
|
1965
|
+
#
|
1966
|
+
# @option params [required, String] :name
|
1967
|
+
# The name of the project.
|
1968
|
+
#
|
1969
|
+
# @option params [String] :description
|
1970
|
+
# The description of the project.
|
1971
|
+
#
|
1972
|
+
# @return [Types::UpdateProjectResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1973
|
+
#
|
1974
|
+
# * {Types::UpdateProjectResponse#space_name #space_name} => String
|
1975
|
+
# * {Types::UpdateProjectResponse#name #name} => String
|
1976
|
+
# * {Types::UpdateProjectResponse#display_name #display_name} => String
|
1977
|
+
# * {Types::UpdateProjectResponse#description #description} => String
|
1978
|
+
#
|
1979
|
+
# @example Request syntax with placeholder values
|
1980
|
+
#
|
1981
|
+
# resp = client.update_project({
|
1982
|
+
# space_name: "NameString", # required
|
1983
|
+
# name: "NameString", # required
|
1984
|
+
# description: "ProjectDescription",
|
1985
|
+
# })
|
1986
|
+
#
|
1987
|
+
# @example Response structure
|
1988
|
+
#
|
1989
|
+
# resp.space_name #=> String
|
1990
|
+
# resp.name #=> String
|
1991
|
+
# resp.display_name #=> String
|
1992
|
+
# resp.description #=> String
|
1993
|
+
#
|
1994
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/UpdateProject AWS API Documentation
|
1995
|
+
#
|
1996
|
+
# @overload update_project(params = {})
|
1997
|
+
# @param [Hash] params ({})
|
1998
|
+
def update_project(params = {}, options = {})
|
1999
|
+
req = build_request(:update_project, params)
|
2000
|
+
req.send_request(options)
|
2001
|
+
end
|
2002
|
+
|
2003
|
+
# Changes one or more values for a space.
|
2004
|
+
#
|
2005
|
+
# @option params [required, String] :name
|
2006
|
+
# The name of the space.
|
2007
|
+
#
|
2008
|
+
# @option params [String] :description
|
2009
|
+
# The description of the space.
|
2010
|
+
#
|
2011
|
+
# @return [Types::UpdateSpaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2012
|
+
#
|
2013
|
+
# * {Types::UpdateSpaceResponse#name #name} => String
|
2014
|
+
# * {Types::UpdateSpaceResponse#display_name #display_name} => String
|
2015
|
+
# * {Types::UpdateSpaceResponse#description #description} => String
|
2016
|
+
#
|
2017
|
+
# @example Request syntax with placeholder values
|
2018
|
+
#
|
2019
|
+
# resp = client.update_space({
|
2020
|
+
# name: "NameString", # required
|
2021
|
+
# description: "SpaceDescription",
|
2022
|
+
# })
|
2023
|
+
#
|
2024
|
+
# @example Response structure
|
2025
|
+
#
|
2026
|
+
# resp.name #=> String
|
2027
|
+
# resp.display_name #=> String
|
2028
|
+
# resp.description #=> String
|
2029
|
+
#
|
2030
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/UpdateSpace AWS API Documentation
|
2031
|
+
#
|
2032
|
+
# @overload update_space(params = {})
|
2033
|
+
# @param [Hash] params ({})
|
2034
|
+
def update_space(params = {}, options = {})
|
2035
|
+
req = build_request(:update_space, params)
|
2036
|
+
req.send_request(options)
|
2037
|
+
end
|
2038
|
+
|
1748
2039
|
# Verifies whether the calling user has a valid Amazon CodeCatalyst
|
1749
2040
|
# login and session. If successful, this returns the ID of the user in
|
1750
2041
|
# Amazon CodeCatalyst.
|
@@ -1779,7 +2070,7 @@ module Aws::CodeCatalyst
|
|
1779
2070
|
params: params,
|
1780
2071
|
config: config)
|
1781
2072
|
context[:gem_name] = 'aws-sdk-codecatalyst'
|
1782
|
-
context[:gem_version] = '1.
|
2073
|
+
context[:gem_version] = '1.10.0'
|
1783
2074
|
Seahorse::Client::Request.new(handlers, context)
|
1784
2075
|
end
|
1785
2076
|
|
@@ -32,10 +32,18 @@ module Aws::CodeCatalyst
|
|
32
32
|
CreateProjectResponse = Shapes::StructureShape.new(name: 'CreateProjectResponse')
|
33
33
|
CreateSourceRepositoryBranchRequest = Shapes::StructureShape.new(name: 'CreateSourceRepositoryBranchRequest')
|
34
34
|
CreateSourceRepositoryBranchResponse = Shapes::StructureShape.new(name: 'CreateSourceRepositoryBranchResponse')
|
35
|
+
CreateSourceRepositoryRequest = Shapes::StructureShape.new(name: 'CreateSourceRepositoryRequest')
|
36
|
+
CreateSourceRepositoryResponse = Shapes::StructureShape.new(name: 'CreateSourceRepositoryResponse')
|
35
37
|
DeleteAccessTokenRequest = Shapes::StructureShape.new(name: 'DeleteAccessTokenRequest')
|
36
38
|
DeleteAccessTokenResponse = Shapes::StructureShape.new(name: 'DeleteAccessTokenResponse')
|
37
39
|
DeleteDevEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteDevEnvironmentRequest')
|
38
40
|
DeleteDevEnvironmentResponse = Shapes::StructureShape.new(name: 'DeleteDevEnvironmentResponse')
|
41
|
+
DeleteProjectRequest = Shapes::StructureShape.new(name: 'DeleteProjectRequest')
|
42
|
+
DeleteProjectResponse = Shapes::StructureShape.new(name: 'DeleteProjectResponse')
|
43
|
+
DeleteSourceRepositoryRequest = Shapes::StructureShape.new(name: 'DeleteSourceRepositoryRequest')
|
44
|
+
DeleteSourceRepositoryResponse = Shapes::StructureShape.new(name: 'DeleteSourceRepositoryResponse')
|
45
|
+
DeleteSpaceRequest = Shapes::StructureShape.new(name: 'DeleteSpaceRequest')
|
46
|
+
DeleteSpaceResponse = Shapes::StructureShape.new(name: 'DeleteSpaceResponse')
|
39
47
|
DevEnvironmentAccessDetails = Shapes::StructureShape.new(name: 'DevEnvironmentAccessDetails')
|
40
48
|
DevEnvironmentRepositorySummaries = Shapes::ListShape.new(name: 'DevEnvironmentRepositorySummaries')
|
41
49
|
DevEnvironmentRepositorySummary = Shapes::StructureShape.new(name: 'DevEnvironmentRepositorySummary')
|
@@ -68,6 +76,8 @@ module Aws::CodeCatalyst
|
|
68
76
|
GetProjectResponse = Shapes::StructureShape.new(name: 'GetProjectResponse')
|
69
77
|
GetSourceRepositoryCloneUrlsRequest = Shapes::StructureShape.new(name: 'GetSourceRepositoryCloneUrlsRequest')
|
70
78
|
GetSourceRepositoryCloneUrlsResponse = Shapes::StructureShape.new(name: 'GetSourceRepositoryCloneUrlsResponse')
|
79
|
+
GetSourceRepositoryRequest = Shapes::StructureShape.new(name: 'GetSourceRepositoryRequest')
|
80
|
+
GetSourceRepositoryResponse = Shapes::StructureShape.new(name: 'GetSourceRepositoryResponse')
|
71
81
|
GetSpaceRequest = Shapes::StructureShape.new(name: 'GetSpaceRequest')
|
72
82
|
GetSpaceResponse = Shapes::StructureShape.new(name: 'GetSpaceResponse')
|
73
83
|
GetSubscriptionRequest = Shapes::StructureShape.new(name: 'GetSubscriptionRequest')
|
@@ -145,6 +155,7 @@ module Aws::CodeCatalyst
|
|
145
155
|
SourceRepositoryDescriptionString = Shapes::StringShape.new(name: 'SourceRepositoryDescriptionString')
|
146
156
|
SourceRepositoryIdString = Shapes::StringShape.new(name: 'SourceRepositoryIdString')
|
147
157
|
SourceRepositoryNameString = Shapes::StringShape.new(name: 'SourceRepositoryNameString')
|
158
|
+
SpaceDescription = Shapes::StringShape.new(name: 'SpaceDescription')
|
148
159
|
SpaceSummaries = Shapes::ListShape.new(name: 'SpaceSummaries')
|
149
160
|
SpaceSummary = Shapes::StructureShape.new(name: 'SpaceSummary')
|
150
161
|
StartDevEnvironmentRequest = Shapes::StructureShape.new(name: 'StartDevEnvironmentRequest')
|
@@ -168,6 +179,10 @@ module Aws::CodeCatalyst
|
|
168
179
|
UpdateDevEnvironmentRequestAliasString = Shapes::StringShape.new(name: 'UpdateDevEnvironmentRequestAliasString')
|
169
180
|
UpdateDevEnvironmentResponse = Shapes::StructureShape.new(name: 'UpdateDevEnvironmentResponse')
|
170
181
|
UpdateDevEnvironmentResponseAliasString = Shapes::StringShape.new(name: 'UpdateDevEnvironmentResponseAliasString')
|
182
|
+
UpdateProjectRequest = Shapes::StructureShape.new(name: 'UpdateProjectRequest')
|
183
|
+
UpdateProjectResponse = Shapes::StructureShape.new(name: 'UpdateProjectResponse')
|
184
|
+
UpdateSpaceRequest = Shapes::StructureShape.new(name: 'UpdateSpaceRequest')
|
185
|
+
UpdateSpaceResponse = Shapes::StructureShape.new(name: 'UpdateSpaceResponse')
|
171
186
|
UserIdentity = Shapes::StructureShape.new(name: 'UserIdentity')
|
172
187
|
UserType = Shapes::StringShape.new(name: 'UserType')
|
173
188
|
Uuid = Shapes::StringShape.new(name: 'Uuid')
|
@@ -238,6 +253,18 @@ module Aws::CodeCatalyst
|
|
238
253
|
CreateSourceRepositoryBranchResponse.add_member(:head_commit_id, Shapes::ShapeRef.new(shape: String, location_name: "headCommitId"))
|
239
254
|
CreateSourceRepositoryBranchResponse.struct_class = Types::CreateSourceRepositoryBranchResponse
|
240
255
|
|
256
|
+
CreateSourceRepositoryRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "spaceName"))
|
257
|
+
CreateSourceRepositoryRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "projectName"))
|
258
|
+
CreateSourceRepositoryRequest.add_member(:name, Shapes::ShapeRef.new(shape: SourceRepositoryNameString, required: true, location: "uri", location_name: "name"))
|
259
|
+
CreateSourceRepositoryRequest.add_member(:description, Shapes::ShapeRef.new(shape: SourceRepositoryDescriptionString, location_name: "description"))
|
260
|
+
CreateSourceRepositoryRequest.struct_class = Types::CreateSourceRepositoryRequest
|
261
|
+
|
262
|
+
CreateSourceRepositoryResponse.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "spaceName"))
|
263
|
+
CreateSourceRepositoryResponse.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "projectName"))
|
264
|
+
CreateSourceRepositoryResponse.add_member(:name, Shapes::ShapeRef.new(shape: SourceRepositoryNameString, required: true, location_name: "name"))
|
265
|
+
CreateSourceRepositoryResponse.add_member(:description, Shapes::ShapeRef.new(shape: SourceRepositoryDescriptionString, location_name: "description"))
|
266
|
+
CreateSourceRepositoryResponse.struct_class = Types::CreateSourceRepositoryResponse
|
267
|
+
|
241
268
|
DeleteAccessTokenRequest.add_member(:id, Shapes::ShapeRef.new(shape: AccessTokenId, required: true, location: "uri", location_name: "id"))
|
242
269
|
DeleteAccessTokenRequest.struct_class = Types::DeleteAccessTokenRequest
|
243
270
|
|
@@ -253,6 +280,32 @@ module Aws::CodeCatalyst
|
|
253
280
|
DeleteDevEnvironmentResponse.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
|
254
281
|
DeleteDevEnvironmentResponse.struct_class = Types::DeleteDevEnvironmentResponse
|
255
282
|
|
283
|
+
DeleteProjectRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "spaceName"))
|
284
|
+
DeleteProjectRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "name"))
|
285
|
+
DeleteProjectRequest.struct_class = Types::DeleteProjectRequest
|
286
|
+
|
287
|
+
DeleteProjectResponse.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "spaceName"))
|
288
|
+
DeleteProjectResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "name"))
|
289
|
+
DeleteProjectResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "displayName"))
|
290
|
+
DeleteProjectResponse.struct_class = Types::DeleteProjectResponse
|
291
|
+
|
292
|
+
DeleteSourceRepositoryRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "spaceName"))
|
293
|
+
DeleteSourceRepositoryRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "projectName"))
|
294
|
+
DeleteSourceRepositoryRequest.add_member(:name, Shapes::ShapeRef.new(shape: SourceRepositoryNameString, required: true, location: "uri", location_name: "name"))
|
295
|
+
DeleteSourceRepositoryRequest.struct_class = Types::DeleteSourceRepositoryRequest
|
296
|
+
|
297
|
+
DeleteSourceRepositoryResponse.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "spaceName"))
|
298
|
+
DeleteSourceRepositoryResponse.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "projectName"))
|
299
|
+
DeleteSourceRepositoryResponse.add_member(:name, Shapes::ShapeRef.new(shape: SourceRepositoryNameString, required: true, location_name: "name"))
|
300
|
+
DeleteSourceRepositoryResponse.struct_class = Types::DeleteSourceRepositoryResponse
|
301
|
+
|
302
|
+
DeleteSpaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "name"))
|
303
|
+
DeleteSpaceRequest.struct_class = Types::DeleteSpaceRequest
|
304
|
+
|
305
|
+
DeleteSpaceResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "name"))
|
306
|
+
DeleteSpaceResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "displayName"))
|
307
|
+
DeleteSpaceResponse.struct_class = Types::DeleteSpaceResponse
|
308
|
+
|
256
309
|
DevEnvironmentAccessDetails.add_member(:stream_url, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "streamUrl"))
|
257
310
|
DevEnvironmentAccessDetails.add_member(:token_value, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "tokenValue"))
|
258
311
|
DevEnvironmentAccessDetails.struct_class = Types::DevEnvironmentAccessDetails
|
@@ -371,6 +424,19 @@ module Aws::CodeCatalyst
|
|
371
424
|
GetSourceRepositoryCloneUrlsResponse.add_member(:https, Shapes::ShapeRef.new(shape: String, required: true, location_name: "https"))
|
372
425
|
GetSourceRepositoryCloneUrlsResponse.struct_class = Types::GetSourceRepositoryCloneUrlsResponse
|
373
426
|
|
427
|
+
GetSourceRepositoryRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "spaceName"))
|
428
|
+
GetSourceRepositoryRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "projectName"))
|
429
|
+
GetSourceRepositoryRequest.add_member(:name, Shapes::ShapeRef.new(shape: SourceRepositoryNameString, required: true, location: "uri", location_name: "name"))
|
430
|
+
GetSourceRepositoryRequest.struct_class = Types::GetSourceRepositoryRequest
|
431
|
+
|
432
|
+
GetSourceRepositoryResponse.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "spaceName"))
|
433
|
+
GetSourceRepositoryResponse.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "projectName"))
|
434
|
+
GetSourceRepositoryResponse.add_member(:name, Shapes::ShapeRef.new(shape: SourceRepositoryNameString, required: true, location_name: "name"))
|
435
|
+
GetSourceRepositoryResponse.add_member(:description, Shapes::ShapeRef.new(shape: SourceRepositoryDescriptionString, location_name: "description"))
|
436
|
+
GetSourceRepositoryResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdatedTime"))
|
437
|
+
GetSourceRepositoryResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdTime"))
|
438
|
+
GetSourceRepositoryResponse.struct_class = Types::GetSourceRepositoryResponse
|
439
|
+
|
374
440
|
GetSpaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "name"))
|
375
441
|
GetSpaceRequest.struct_class = Types::GetSpaceRequest
|
376
442
|
|
@@ -626,6 +692,26 @@ module Aws::CodeCatalyst
|
|
626
692
|
UpdateDevEnvironmentResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
627
693
|
UpdateDevEnvironmentResponse.struct_class = Types::UpdateDevEnvironmentResponse
|
628
694
|
|
695
|
+
UpdateProjectRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "spaceName"))
|
696
|
+
UpdateProjectRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "name"))
|
697
|
+
UpdateProjectRequest.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
|
698
|
+
UpdateProjectRequest.struct_class = Types::UpdateProjectRequest
|
699
|
+
|
700
|
+
UpdateProjectResponse.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, location_name: "spaceName"))
|
701
|
+
UpdateProjectResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "name"))
|
702
|
+
UpdateProjectResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "displayName"))
|
703
|
+
UpdateProjectResponse.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
704
|
+
UpdateProjectResponse.struct_class = Types::UpdateProjectResponse
|
705
|
+
|
706
|
+
UpdateSpaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "name"))
|
707
|
+
UpdateSpaceRequest.add_member(:description, Shapes::ShapeRef.new(shape: SpaceDescription, location_name: "description"))
|
708
|
+
UpdateSpaceRequest.struct_class = Types::UpdateSpaceRequest
|
709
|
+
|
710
|
+
UpdateSpaceResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "name"))
|
711
|
+
UpdateSpaceResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "displayName"))
|
712
|
+
UpdateSpaceResponse.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
713
|
+
UpdateSpaceResponse.struct_class = Types::UpdateSpaceResponse
|
714
|
+
|
629
715
|
UserIdentity.add_member(:user_type, Shapes::ShapeRef.new(shape: UserType, required: true, location_name: "userType"))
|
630
716
|
UserIdentity.add_member(:principal_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "principalId"))
|
631
717
|
UserIdentity.add_member(:user_name, Shapes::ShapeRef.new(shape: String, location_name: "userName"))
|
@@ -698,6 +784,20 @@ module Aws::CodeCatalyst
|
|
698
784
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
699
785
|
end)
|
700
786
|
|
787
|
+
api.add_operation(:create_source_repository, Seahorse::Model::Operation.new.tap do |o|
|
788
|
+
o.name = "CreateSourceRepository"
|
789
|
+
o.http_method = "PUT"
|
790
|
+
o.http_request_uri = "/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{name}"
|
791
|
+
o.input = Shapes::ShapeRef.new(shape: CreateSourceRepositoryRequest)
|
792
|
+
o.output = Shapes::ShapeRef.new(shape: CreateSourceRepositoryResponse)
|
793
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
794
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
795
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
796
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
797
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
798
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
799
|
+
end)
|
800
|
+
|
701
801
|
api.add_operation(:create_source_repository_branch, Seahorse::Model::Operation.new.tap do |o|
|
702
802
|
o.name = "CreateSourceRepositoryBranch"
|
703
803
|
o.http_method = "PUT"
|
@@ -740,6 +840,48 @@ module Aws::CodeCatalyst
|
|
740
840
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
741
841
|
end)
|
742
842
|
|
843
|
+
api.add_operation(:delete_project, Seahorse::Model::Operation.new.tap do |o|
|
844
|
+
o.name = "DeleteProject"
|
845
|
+
o.http_method = "DELETE"
|
846
|
+
o.http_request_uri = "/v1/spaces/{spaceName}/projects/{name}"
|
847
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteProjectRequest)
|
848
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteProjectResponse)
|
849
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
850
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
851
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
852
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
853
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
854
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
855
|
+
end)
|
856
|
+
|
857
|
+
api.add_operation(:delete_source_repository, Seahorse::Model::Operation.new.tap do |o|
|
858
|
+
o.name = "DeleteSourceRepository"
|
859
|
+
o.http_method = "DELETE"
|
860
|
+
o.http_request_uri = "/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{name}"
|
861
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteSourceRepositoryRequest)
|
862
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteSourceRepositoryResponse)
|
863
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
864
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
865
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
866
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
867
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
868
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
869
|
+
end)
|
870
|
+
|
871
|
+
api.add_operation(:delete_space, Seahorse::Model::Operation.new.tap do |o|
|
872
|
+
o.name = "DeleteSpace"
|
873
|
+
o.http_method = "DELETE"
|
874
|
+
o.http_request_uri = "/v1/spaces/{name}"
|
875
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteSpaceRequest)
|
876
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteSpaceResponse)
|
877
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
878
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
879
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
880
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
881
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
882
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
883
|
+
end)
|
884
|
+
|
743
885
|
api.add_operation(:get_dev_environment, Seahorse::Model::Operation.new.tap do |o|
|
744
886
|
o.name = "GetDevEnvironment"
|
745
887
|
o.http_method = "GET"
|
@@ -768,6 +910,20 @@ module Aws::CodeCatalyst
|
|
768
910
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
769
911
|
end)
|
770
912
|
|
913
|
+
api.add_operation(:get_source_repository, Seahorse::Model::Operation.new.tap do |o|
|
914
|
+
o.name = "GetSourceRepository"
|
915
|
+
o.http_method = "GET"
|
916
|
+
o.http_request_uri = "/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{name}"
|
917
|
+
o.input = Shapes::ShapeRef.new(shape: GetSourceRepositoryRequest)
|
918
|
+
o.output = Shapes::ShapeRef.new(shape: GetSourceRepositoryResponse)
|
919
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
920
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
921
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
922
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
923
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
924
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
925
|
+
end)
|
926
|
+
|
771
927
|
api.add_operation(:get_source_repository_clone_urls, Seahorse::Model::Operation.new.tap do |o|
|
772
928
|
o.name = "GetSourceRepositoryCloneUrls"
|
773
929
|
o.http_method = "GET"
|
@@ -1053,6 +1209,34 @@ module Aws::CodeCatalyst
|
|
1053
1209
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1054
1210
|
end)
|
1055
1211
|
|
1212
|
+
api.add_operation(:update_project, Seahorse::Model::Operation.new.tap do |o|
|
1213
|
+
o.name = "UpdateProject"
|
1214
|
+
o.http_method = "PATCH"
|
1215
|
+
o.http_request_uri = "/v1/spaces/{spaceName}/projects/{name}"
|
1216
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateProjectRequest)
|
1217
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateProjectResponse)
|
1218
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1219
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1220
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1221
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1222
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1223
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1224
|
+
end)
|
1225
|
+
|
1226
|
+
api.add_operation(:update_space, Seahorse::Model::Operation.new.tap do |o|
|
1227
|
+
o.name = "UpdateSpace"
|
1228
|
+
o.http_method = "PATCH"
|
1229
|
+
o.http_request_uri = "/v1/spaces/{name}"
|
1230
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateSpaceRequest)
|
1231
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateSpaceResponse)
|
1232
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1233
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1234
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1235
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1236
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1237
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1238
|
+
end)
|
1239
|
+
|
1056
1240
|
api.add_operation(:verify_session, Seahorse::Model::Operation.new.tap do |o|
|
1057
1241
|
o.name = "VerifySession"
|
1058
1242
|
o.http_method = "GET"
|
@@ -51,6 +51,19 @@ module Aws::CodeCatalyst
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
class CreateSourceRepository
|
55
|
+
def self.build(context)
|
56
|
+
unless context.config.regional_endpoint
|
57
|
+
endpoint = context.config.endpoint.to_s
|
58
|
+
end
|
59
|
+
Aws::CodeCatalyst::EndpointParameters.new(
|
60
|
+
use_fips: context.config.use_fips_endpoint,
|
61
|
+
region: context.config.region,
|
62
|
+
endpoint: endpoint,
|
63
|
+
)
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
54
67
|
class CreateSourceRepositoryBranch
|
55
68
|
def self.build(context)
|
56
69
|
unless context.config.regional_endpoint
|
@@ -90,6 +103,45 @@ module Aws::CodeCatalyst
|
|
90
103
|
end
|
91
104
|
end
|
92
105
|
|
106
|
+
class DeleteProject
|
107
|
+
def self.build(context)
|
108
|
+
unless context.config.regional_endpoint
|
109
|
+
endpoint = context.config.endpoint.to_s
|
110
|
+
end
|
111
|
+
Aws::CodeCatalyst::EndpointParameters.new(
|
112
|
+
use_fips: context.config.use_fips_endpoint,
|
113
|
+
region: context.config.region,
|
114
|
+
endpoint: endpoint,
|
115
|
+
)
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
class DeleteSourceRepository
|
120
|
+
def self.build(context)
|
121
|
+
unless context.config.regional_endpoint
|
122
|
+
endpoint = context.config.endpoint.to_s
|
123
|
+
end
|
124
|
+
Aws::CodeCatalyst::EndpointParameters.new(
|
125
|
+
use_fips: context.config.use_fips_endpoint,
|
126
|
+
region: context.config.region,
|
127
|
+
endpoint: endpoint,
|
128
|
+
)
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
class DeleteSpace
|
133
|
+
def self.build(context)
|
134
|
+
unless context.config.regional_endpoint
|
135
|
+
endpoint = context.config.endpoint.to_s
|
136
|
+
end
|
137
|
+
Aws::CodeCatalyst::EndpointParameters.new(
|
138
|
+
use_fips: context.config.use_fips_endpoint,
|
139
|
+
region: context.config.region,
|
140
|
+
endpoint: endpoint,
|
141
|
+
)
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
93
145
|
class GetDevEnvironment
|
94
146
|
def self.build(context)
|
95
147
|
unless context.config.regional_endpoint
|
@@ -116,6 +168,19 @@ module Aws::CodeCatalyst
|
|
116
168
|
end
|
117
169
|
end
|
118
170
|
|
171
|
+
class GetSourceRepository
|
172
|
+
def self.build(context)
|
173
|
+
unless context.config.regional_endpoint
|
174
|
+
endpoint = context.config.endpoint.to_s
|
175
|
+
end
|
176
|
+
Aws::CodeCatalyst::EndpointParameters.new(
|
177
|
+
use_fips: context.config.use_fips_endpoint,
|
178
|
+
region: context.config.region,
|
179
|
+
endpoint: endpoint,
|
180
|
+
)
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
119
184
|
class GetSourceRepositoryCloneUrls
|
120
185
|
def self.build(context)
|
121
186
|
unless context.config.regional_endpoint
|
@@ -337,6 +402,32 @@ module Aws::CodeCatalyst
|
|
337
402
|
end
|
338
403
|
end
|
339
404
|
|
405
|
+
class UpdateProject
|
406
|
+
def self.build(context)
|
407
|
+
unless context.config.regional_endpoint
|
408
|
+
endpoint = context.config.endpoint.to_s
|
409
|
+
end
|
410
|
+
Aws::CodeCatalyst::EndpointParameters.new(
|
411
|
+
use_fips: context.config.use_fips_endpoint,
|
412
|
+
region: context.config.region,
|
413
|
+
endpoint: endpoint,
|
414
|
+
)
|
415
|
+
end
|
416
|
+
end
|
417
|
+
|
418
|
+
class UpdateSpace
|
419
|
+
def self.build(context)
|
420
|
+
unless context.config.regional_endpoint
|
421
|
+
endpoint = context.config.endpoint.to_s
|
422
|
+
end
|
423
|
+
Aws::CodeCatalyst::EndpointParameters.new(
|
424
|
+
use_fips: context.config.use_fips_endpoint,
|
425
|
+
region: context.config.region,
|
426
|
+
endpoint: endpoint,
|
427
|
+
)
|
428
|
+
end
|
429
|
+
end
|
430
|
+
|
340
431
|
class VerifySession
|
341
432
|
def self.build(context)
|
342
433
|
unless context.config.regional_endpoint
|
@@ -62,16 +62,26 @@ module Aws::CodeCatalyst
|
|
62
62
|
Aws::CodeCatalyst::Endpoints::CreateDevEnvironment.build(context)
|
63
63
|
when :create_project
|
64
64
|
Aws::CodeCatalyst::Endpoints::CreateProject.build(context)
|
65
|
+
when :create_source_repository
|
66
|
+
Aws::CodeCatalyst::Endpoints::CreateSourceRepository.build(context)
|
65
67
|
when :create_source_repository_branch
|
66
68
|
Aws::CodeCatalyst::Endpoints::CreateSourceRepositoryBranch.build(context)
|
67
69
|
when :delete_access_token
|
68
70
|
Aws::CodeCatalyst::Endpoints::DeleteAccessToken.build(context)
|
69
71
|
when :delete_dev_environment
|
70
72
|
Aws::CodeCatalyst::Endpoints::DeleteDevEnvironment.build(context)
|
73
|
+
when :delete_project
|
74
|
+
Aws::CodeCatalyst::Endpoints::DeleteProject.build(context)
|
75
|
+
when :delete_source_repository
|
76
|
+
Aws::CodeCatalyst::Endpoints::DeleteSourceRepository.build(context)
|
77
|
+
when :delete_space
|
78
|
+
Aws::CodeCatalyst::Endpoints::DeleteSpace.build(context)
|
71
79
|
when :get_dev_environment
|
72
80
|
Aws::CodeCatalyst::Endpoints::GetDevEnvironment.build(context)
|
73
81
|
when :get_project
|
74
82
|
Aws::CodeCatalyst::Endpoints::GetProject.build(context)
|
83
|
+
when :get_source_repository
|
84
|
+
Aws::CodeCatalyst::Endpoints::GetSourceRepository.build(context)
|
75
85
|
when :get_source_repository_clone_urls
|
76
86
|
Aws::CodeCatalyst::Endpoints::GetSourceRepositoryCloneUrls.build(context)
|
77
87
|
when :get_space
|
@@ -106,6 +116,10 @@ module Aws::CodeCatalyst
|
|
106
116
|
Aws::CodeCatalyst::Endpoints::StopDevEnvironmentSession.build(context)
|
107
117
|
when :update_dev_environment
|
108
118
|
Aws::CodeCatalyst::Endpoints::UpdateDevEnvironment.build(context)
|
119
|
+
when :update_project
|
120
|
+
Aws::CodeCatalyst::Endpoints::UpdateProject.build(context)
|
121
|
+
when :update_space
|
122
|
+
Aws::CodeCatalyst::Endpoints::UpdateSpace.build(context)
|
109
123
|
when :verify_session
|
110
124
|
Aws::CodeCatalyst::Endpoints::VerifySession.build(context)
|
111
125
|
end
|
@@ -339,6 +339,65 @@ module Aws::CodeCatalyst
|
|
339
339
|
include Aws::Structure
|
340
340
|
end
|
341
341
|
|
342
|
+
# @!attribute [rw] space_name
|
343
|
+
# The name of the space.
|
344
|
+
# @return [String]
|
345
|
+
#
|
346
|
+
# @!attribute [rw] project_name
|
347
|
+
# The name of the project in the space.
|
348
|
+
# @return [String]
|
349
|
+
#
|
350
|
+
# @!attribute [rw] name
|
351
|
+
# The name of the source repository. For more information about name
|
352
|
+
# requirements, see [Quotas for source repositories][1].
|
353
|
+
#
|
354
|
+
#
|
355
|
+
#
|
356
|
+
# [1]: https://docs.aws.amazon.com/codecatalyst/latest/userguide/source-quotas.html
|
357
|
+
# @return [String]
|
358
|
+
#
|
359
|
+
# @!attribute [rw] description
|
360
|
+
# The description of the source repository.
|
361
|
+
# @return [String]
|
362
|
+
#
|
363
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/CreateSourceRepositoryRequest AWS API Documentation
|
364
|
+
#
|
365
|
+
class CreateSourceRepositoryRequest < Struct.new(
|
366
|
+
:space_name,
|
367
|
+
:project_name,
|
368
|
+
:name,
|
369
|
+
:description)
|
370
|
+
SENSITIVE = []
|
371
|
+
include Aws::Structure
|
372
|
+
end
|
373
|
+
|
374
|
+
# @!attribute [rw] space_name
|
375
|
+
# The name of the space.
|
376
|
+
# @return [String]
|
377
|
+
#
|
378
|
+
# @!attribute [rw] project_name
|
379
|
+
# The name of the project in the space.
|
380
|
+
# @return [String]
|
381
|
+
#
|
382
|
+
# @!attribute [rw] name
|
383
|
+
# The name of the source repository.
|
384
|
+
# @return [String]
|
385
|
+
#
|
386
|
+
# @!attribute [rw] description
|
387
|
+
# The description of the source repository.
|
388
|
+
# @return [String]
|
389
|
+
#
|
390
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/CreateSourceRepositoryResponse AWS API Documentation
|
391
|
+
#
|
392
|
+
class CreateSourceRepositoryResponse < Struct.new(
|
393
|
+
:space_name,
|
394
|
+
:project_name,
|
395
|
+
:name,
|
396
|
+
:description)
|
397
|
+
SENSITIVE = []
|
398
|
+
include Aws::Structure
|
399
|
+
end
|
400
|
+
|
342
401
|
# @!attribute [rw] id
|
343
402
|
# The ID of the personal access token to delete. You can find the IDs
|
344
403
|
# of all PATs associated with your Amazon Web Services Builder ID in a
|
@@ -403,6 +462,122 @@ module Aws::CodeCatalyst
|
|
403
462
|
include Aws::Structure
|
404
463
|
end
|
405
464
|
|
465
|
+
# @!attribute [rw] space_name
|
466
|
+
# The name of the space.
|
467
|
+
# @return [String]
|
468
|
+
#
|
469
|
+
# @!attribute [rw] name
|
470
|
+
# The name of the project in the space. To retrieve a list of project
|
471
|
+
# names, use ListProjects.
|
472
|
+
# @return [String]
|
473
|
+
#
|
474
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/DeleteProjectRequest AWS API Documentation
|
475
|
+
#
|
476
|
+
class DeleteProjectRequest < Struct.new(
|
477
|
+
:space_name,
|
478
|
+
:name)
|
479
|
+
SENSITIVE = []
|
480
|
+
include Aws::Structure
|
481
|
+
end
|
482
|
+
|
483
|
+
# @!attribute [rw] space_name
|
484
|
+
# The name of the space.
|
485
|
+
# @return [String]
|
486
|
+
#
|
487
|
+
# @!attribute [rw] name
|
488
|
+
# The name of the project in the space.
|
489
|
+
# @return [String]
|
490
|
+
#
|
491
|
+
# @!attribute [rw] display_name
|
492
|
+
# The friendly name displayed to users of the project in Amazon
|
493
|
+
# CodeCatalyst.
|
494
|
+
# @return [String]
|
495
|
+
#
|
496
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/DeleteProjectResponse AWS API Documentation
|
497
|
+
#
|
498
|
+
class DeleteProjectResponse < Struct.new(
|
499
|
+
:space_name,
|
500
|
+
:name,
|
501
|
+
:display_name)
|
502
|
+
SENSITIVE = []
|
503
|
+
include Aws::Structure
|
504
|
+
end
|
505
|
+
|
506
|
+
# @!attribute [rw] space_name
|
507
|
+
# The name of the space.
|
508
|
+
# @return [String]
|
509
|
+
#
|
510
|
+
# @!attribute [rw] project_name
|
511
|
+
# The name of the project in the space.
|
512
|
+
# @return [String]
|
513
|
+
#
|
514
|
+
# @!attribute [rw] name
|
515
|
+
# The name of the source repository.
|
516
|
+
# @return [String]
|
517
|
+
#
|
518
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/DeleteSourceRepositoryRequest AWS API Documentation
|
519
|
+
#
|
520
|
+
class DeleteSourceRepositoryRequest < Struct.new(
|
521
|
+
:space_name,
|
522
|
+
:project_name,
|
523
|
+
:name)
|
524
|
+
SENSITIVE = []
|
525
|
+
include Aws::Structure
|
526
|
+
end
|
527
|
+
|
528
|
+
# @!attribute [rw] space_name
|
529
|
+
# The name of the space.
|
530
|
+
# @return [String]
|
531
|
+
#
|
532
|
+
# @!attribute [rw] project_name
|
533
|
+
# The name of the project in the space.
|
534
|
+
# @return [String]
|
535
|
+
#
|
536
|
+
# @!attribute [rw] name
|
537
|
+
# The name of the repository.
|
538
|
+
# @return [String]
|
539
|
+
#
|
540
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/DeleteSourceRepositoryResponse AWS API Documentation
|
541
|
+
#
|
542
|
+
class DeleteSourceRepositoryResponse < Struct.new(
|
543
|
+
:space_name,
|
544
|
+
:project_name,
|
545
|
+
:name)
|
546
|
+
SENSITIVE = []
|
547
|
+
include Aws::Structure
|
548
|
+
end
|
549
|
+
|
550
|
+
# @!attribute [rw] name
|
551
|
+
# The name of the space. To retrieve a list of space names, use
|
552
|
+
# ListSpaces.
|
553
|
+
# @return [String]
|
554
|
+
#
|
555
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/DeleteSpaceRequest AWS API Documentation
|
556
|
+
#
|
557
|
+
class DeleteSpaceRequest < Struct.new(
|
558
|
+
:name)
|
559
|
+
SENSITIVE = []
|
560
|
+
include Aws::Structure
|
561
|
+
end
|
562
|
+
|
563
|
+
# @!attribute [rw] name
|
564
|
+
# The name of the space.
|
565
|
+
# @return [String]
|
566
|
+
#
|
567
|
+
# @!attribute [rw] display_name
|
568
|
+
# The friendly name of the space displayed to users of the space in
|
569
|
+
# Amazon CodeCatalyst.
|
570
|
+
# @return [String]
|
571
|
+
#
|
572
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/DeleteSpaceResponse AWS API Documentation
|
573
|
+
#
|
574
|
+
class DeleteSpaceResponse < Struct.new(
|
575
|
+
:name,
|
576
|
+
:display_name)
|
577
|
+
SENSITIVE = []
|
578
|
+
include Aws::Structure
|
579
|
+
end
|
580
|
+
|
406
581
|
# Information about connection details for a Dev Environment.
|
407
582
|
#
|
408
583
|
# @!attribute [rw] stream_url
|
@@ -672,6 +847,7 @@ module Aws::CodeCatalyst
|
|
672
847
|
# @return [String]
|
673
848
|
#
|
674
849
|
# @!attribute [rw] user_agent
|
850
|
+
# The user agent whose actions are recorded in the event.
|
675
851
|
# @return [String]
|
676
852
|
#
|
677
853
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/EventLogEntry AWS API Documentation
|
@@ -737,13 +913,18 @@ module Aws::CodeCatalyst
|
|
737
913
|
include Aws::Structure
|
738
914
|
end
|
739
915
|
|
916
|
+
# Information about a filter used to limit results of a query.
|
917
|
+
#
|
740
918
|
# @!attribute [rw] key
|
919
|
+
# A key that can be used to sort results.
|
741
920
|
# @return [String]
|
742
921
|
#
|
743
922
|
# @!attribute [rw] values
|
923
|
+
# The values of the key.
|
744
924
|
# @return [Array<String>]
|
745
925
|
#
|
746
926
|
# @!attribute [rw] comparison_operator
|
927
|
+
# The operator used to compare the fields.
|
747
928
|
# @return [String]
|
748
929
|
#
|
749
930
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/Filter AWS API Documentation
|
@@ -942,6 +1123,75 @@ module Aws::CodeCatalyst
|
|
942
1123
|
include Aws::Structure
|
943
1124
|
end
|
944
1125
|
|
1126
|
+
# @!attribute [rw] space_name
|
1127
|
+
# The name of the space.
|
1128
|
+
# @return [String]
|
1129
|
+
#
|
1130
|
+
# @!attribute [rw] project_name
|
1131
|
+
# The name of the project in the space.
|
1132
|
+
# @return [String]
|
1133
|
+
#
|
1134
|
+
# @!attribute [rw] name
|
1135
|
+
# The name of the source repository.
|
1136
|
+
# @return [String]
|
1137
|
+
#
|
1138
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/GetSourceRepositoryRequest AWS API Documentation
|
1139
|
+
#
|
1140
|
+
class GetSourceRepositoryRequest < Struct.new(
|
1141
|
+
:space_name,
|
1142
|
+
:project_name,
|
1143
|
+
:name)
|
1144
|
+
SENSITIVE = []
|
1145
|
+
include Aws::Structure
|
1146
|
+
end
|
1147
|
+
|
1148
|
+
# @!attribute [rw] space_name
|
1149
|
+
# The name of the space.
|
1150
|
+
# @return [String]
|
1151
|
+
#
|
1152
|
+
# @!attribute [rw] project_name
|
1153
|
+
# The name of the project in the space.
|
1154
|
+
# @return [String]
|
1155
|
+
#
|
1156
|
+
# @!attribute [rw] name
|
1157
|
+
# The name of the source repository.
|
1158
|
+
# @return [String]
|
1159
|
+
#
|
1160
|
+
# @!attribute [rw] description
|
1161
|
+
# The description of the source repository.
|
1162
|
+
# @return [String]
|
1163
|
+
#
|
1164
|
+
# @!attribute [rw] last_updated_time
|
1165
|
+
# The time the source repository was last updated, in coordinated
|
1166
|
+
# universal time (UTC) timestamp format as specified in [RFC 3339][1].
|
1167
|
+
#
|
1168
|
+
#
|
1169
|
+
#
|
1170
|
+
# [1]: https://www.rfc-editor.org/rfc/rfc3339#section-5.6
|
1171
|
+
# @return [Time]
|
1172
|
+
#
|
1173
|
+
# @!attribute [rw] created_time
|
1174
|
+
# The time the source repository was created, in coordinated universal
|
1175
|
+
# time (UTC) timestamp format as specified in [RFC 3339][1].
|
1176
|
+
#
|
1177
|
+
#
|
1178
|
+
#
|
1179
|
+
# [1]: https://www.rfc-editor.org/rfc/rfc3339#section-5.6
|
1180
|
+
# @return [Time]
|
1181
|
+
#
|
1182
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/GetSourceRepositoryResponse AWS API Documentation
|
1183
|
+
#
|
1184
|
+
class GetSourceRepositoryResponse < Struct.new(
|
1185
|
+
:space_name,
|
1186
|
+
:project_name,
|
1187
|
+
:name,
|
1188
|
+
:description,
|
1189
|
+
:last_updated_time,
|
1190
|
+
:created_time)
|
1191
|
+
SENSITIVE = []
|
1192
|
+
include Aws::Structure
|
1193
|
+
end
|
1194
|
+
|
945
1195
|
# @!attribute [rw] name
|
946
1196
|
# The name of the space.
|
947
1197
|
# @return [String]
|
@@ -1655,7 +1905,7 @@ module Aws::CodeCatalyst
|
|
1655
1905
|
# @return [String]
|
1656
1906
|
#
|
1657
1907
|
# @!attribute [rw] values
|
1658
|
-
# The
|
1908
|
+
# The values of the key.
|
1659
1909
|
# @return [Array<String>]
|
1660
1910
|
#
|
1661
1911
|
# @!attribute [rw] comparison_operator
|
@@ -2138,6 +2388,96 @@ module Aws::CodeCatalyst
|
|
2138
2388
|
include Aws::Structure
|
2139
2389
|
end
|
2140
2390
|
|
2391
|
+
# @!attribute [rw] space_name
|
2392
|
+
# The name of the space.
|
2393
|
+
# @return [String]
|
2394
|
+
#
|
2395
|
+
# @!attribute [rw] name
|
2396
|
+
# The name of the project.
|
2397
|
+
# @return [String]
|
2398
|
+
#
|
2399
|
+
# @!attribute [rw] description
|
2400
|
+
# The description of the project.
|
2401
|
+
# @return [String]
|
2402
|
+
#
|
2403
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/UpdateProjectRequest AWS API Documentation
|
2404
|
+
#
|
2405
|
+
class UpdateProjectRequest < Struct.new(
|
2406
|
+
:space_name,
|
2407
|
+
:name,
|
2408
|
+
:description)
|
2409
|
+
SENSITIVE = []
|
2410
|
+
include Aws::Structure
|
2411
|
+
end
|
2412
|
+
|
2413
|
+
# @!attribute [rw] space_name
|
2414
|
+
# The name of the space.
|
2415
|
+
# @return [String]
|
2416
|
+
#
|
2417
|
+
# @!attribute [rw] name
|
2418
|
+
# The name of the project.
|
2419
|
+
# @return [String]
|
2420
|
+
#
|
2421
|
+
# @!attribute [rw] display_name
|
2422
|
+
# The friendly name of the project displayed to users in Amazon
|
2423
|
+
# CodeCatalyst.
|
2424
|
+
# @return [String]
|
2425
|
+
#
|
2426
|
+
# @!attribute [rw] description
|
2427
|
+
# The description of the project.
|
2428
|
+
# @return [String]
|
2429
|
+
#
|
2430
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/UpdateProjectResponse AWS API Documentation
|
2431
|
+
#
|
2432
|
+
class UpdateProjectResponse < Struct.new(
|
2433
|
+
:space_name,
|
2434
|
+
:name,
|
2435
|
+
:display_name,
|
2436
|
+
:description)
|
2437
|
+
SENSITIVE = []
|
2438
|
+
include Aws::Structure
|
2439
|
+
end
|
2440
|
+
|
2441
|
+
# @!attribute [rw] name
|
2442
|
+
# The name of the space.
|
2443
|
+
# @return [String]
|
2444
|
+
#
|
2445
|
+
# @!attribute [rw] description
|
2446
|
+
# The description of the space.
|
2447
|
+
# @return [String]
|
2448
|
+
#
|
2449
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/UpdateSpaceRequest AWS API Documentation
|
2450
|
+
#
|
2451
|
+
class UpdateSpaceRequest < Struct.new(
|
2452
|
+
:name,
|
2453
|
+
:description)
|
2454
|
+
SENSITIVE = []
|
2455
|
+
include Aws::Structure
|
2456
|
+
end
|
2457
|
+
|
2458
|
+
# @!attribute [rw] name
|
2459
|
+
# The name of the space.
|
2460
|
+
# @return [String]
|
2461
|
+
#
|
2462
|
+
# @!attribute [rw] display_name
|
2463
|
+
# The friendly name of the space displayed to users in Amazon
|
2464
|
+
# CodeCatalyst.
|
2465
|
+
# @return [String]
|
2466
|
+
#
|
2467
|
+
# @!attribute [rw] description
|
2468
|
+
# The description of the space.
|
2469
|
+
# @return [String]
|
2470
|
+
#
|
2471
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/UpdateSpaceResponse AWS API Documentation
|
2472
|
+
#
|
2473
|
+
class UpdateSpaceResponse < Struct.new(
|
2474
|
+
:name,
|
2475
|
+
:display_name,
|
2476
|
+
:description)
|
2477
|
+
SENSITIVE = []
|
2478
|
+
include Aws::Structure
|
2479
|
+
end
|
2480
|
+
|
2141
2481
|
# Information about a user whose activity is recorded in an event for a
|
2142
2482
|
# space.
|
2143
2483
|
#
|
@@ -2147,6 +2487,7 @@ module Aws::CodeCatalyst
|
|
2147
2487
|
# @return [String]
|
2148
2488
|
#
|
2149
2489
|
# @!attribute [rw] principal_id
|
2490
|
+
# The ID of the Amazon CodeCatalyst service principal.
|
2150
2491
|
# @return [String]
|
2151
2492
|
#
|
2152
2493
|
# @!attribute [rw] user_name
|
data/lib/aws-sdk-codecatalyst.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-codecatalyst
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|