aws-sdk-codestarconnections 1.40.0 → 1.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codestarconnections/client.rb +27 -1
- data/lib/aws-sdk-codestarconnections/client_api.rb +8 -0
- data/lib/aws-sdk-codestarconnections/types.rb +36 -3
- data/lib/aws-sdk-codestarconnections.rb +1 -1
- data/sig/client.rbs +6 -2
- data/sig/types.rbs +6 -0
- 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: 994967ba3f43daba0a70b6228a1612ad18f23c398acc20dc072828c06e689f0c
|
4
|
+
data.tar.gz: c4308f12ee7289f8881a2fcd5b60d5c91c56df86e439e517bbb36a2184d92b9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab8bd6e44ca5627ac3640666bee4fd3980467d01aba91d4ba8a2bde001847e9177cc3bec6597eafb1232a282c4e326804fcef1e1368ce937634a1744bbcbcc08
|
7
|
+
data.tar.gz: 8c979990bb68ab7a32ecd40b10986a1b197d15322fc123b5c13b9ff863d77cde1fdbf72aa0362b94622ee869cffe048aa5e6aecb114cdb445facac915f011976
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.41.0 (2024-03-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added a sync configuration enum to disable publishing of deployment status to source providers (PublishDeploymentStatus). Added a sync configuration enum (TriggerStackUpdateOn) to only trigger changes.
|
8
|
+
|
4
9
|
1.40.0 (2024-01-26)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.41.0
|
@@ -617,6 +617,13 @@ module Aws::CodeStarconnections
|
|
617
617
|
# @option params [required, String] :sync_type
|
618
618
|
# The type of sync configuration.
|
619
619
|
#
|
620
|
+
# @option params [String] :publish_deployment_status
|
621
|
+
# Whether to enable or disable publishing of deployment status to source
|
622
|
+
# providers.
|
623
|
+
#
|
624
|
+
# @option params [String] :trigger_resource_update_on
|
625
|
+
# When to trigger Git sync to begin the stack update.
|
626
|
+
#
|
620
627
|
# @return [Types::CreateSyncConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
621
628
|
#
|
622
629
|
# * {Types::CreateSyncConfigurationOutput#sync_configuration #sync_configuration} => Types::SyncConfiguration
|
@@ -630,6 +637,8 @@ module Aws::CodeStarconnections
|
|
630
637
|
# resource_name: "ResourceName", # required
|
631
638
|
# role_arn: "IamRoleArn", # required
|
632
639
|
# sync_type: "CFN_STACK_SYNC", # required, accepts CFN_STACK_SYNC
|
640
|
+
# publish_deployment_status: "ENABLED", # accepts ENABLED, DISABLED
|
641
|
+
# trigger_resource_update_on: "ANY_CHANGE", # accepts ANY_CHANGE, FILE_CHANGE
|
633
642
|
# })
|
634
643
|
#
|
635
644
|
# @example Response structure
|
@@ -643,6 +652,8 @@ module Aws::CodeStarconnections
|
|
643
652
|
# resp.sync_configuration.resource_name #=> String
|
644
653
|
# resp.sync_configuration.role_arn #=> String
|
645
654
|
# resp.sync_configuration.sync_type #=> String, one of "CFN_STACK_SYNC"
|
655
|
+
# resp.sync_configuration.publish_deployment_status #=> String, one of "ENABLED", "DISABLED"
|
656
|
+
# resp.sync_configuration.trigger_resource_update_on #=> String, one of "ANY_CHANGE", "FILE_CHANGE"
|
646
657
|
#
|
647
658
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateSyncConfiguration AWS API Documentation
|
648
659
|
#
|
@@ -1076,6 +1087,8 @@ module Aws::CodeStarconnections
|
|
1076
1087
|
# resp.sync_configuration.resource_name #=> String
|
1077
1088
|
# resp.sync_configuration.role_arn #=> String
|
1078
1089
|
# resp.sync_configuration.sync_type #=> String, one of "CFN_STACK_SYNC"
|
1090
|
+
# resp.sync_configuration.publish_deployment_status #=> String, one of "ENABLED", "DISABLED"
|
1091
|
+
# resp.sync_configuration.trigger_resource_update_on #=> String, one of "ANY_CHANGE", "FILE_CHANGE"
|
1079
1092
|
#
|
1080
1093
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/GetSyncConfiguration AWS API Documentation
|
1081
1094
|
#
|
@@ -1323,6 +1336,8 @@ module Aws::CodeStarconnections
|
|
1323
1336
|
# resp.sync_configurations[0].resource_name #=> String
|
1324
1337
|
# resp.sync_configurations[0].role_arn #=> String
|
1325
1338
|
# resp.sync_configurations[0].sync_type #=> String, one of "CFN_STACK_SYNC"
|
1339
|
+
# resp.sync_configurations[0].publish_deployment_status #=> String, one of "ENABLED", "DISABLED"
|
1340
|
+
# resp.sync_configurations[0].trigger_resource_update_on #=> String, one of "ANY_CHANGE", "FILE_CHANGE"
|
1326
1341
|
# resp.next_token #=> String
|
1327
1342
|
#
|
1328
1343
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListSyncConfigurations AWS API Documentation
|
@@ -1587,6 +1602,13 @@ module Aws::CodeStarconnections
|
|
1587
1602
|
# @option params [required, String] :sync_type
|
1588
1603
|
# The sync type for the sync configuration to be updated.
|
1589
1604
|
#
|
1605
|
+
# @option params [String] :publish_deployment_status
|
1606
|
+
# Whether to enable or disable publishing of deployment status to source
|
1607
|
+
# providers.
|
1608
|
+
#
|
1609
|
+
# @option params [String] :trigger_resource_update_on
|
1610
|
+
# When to trigger Git sync to begin the stack update.
|
1611
|
+
#
|
1590
1612
|
# @return [Types::UpdateSyncConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1591
1613
|
#
|
1592
1614
|
# * {Types::UpdateSyncConfigurationOutput#sync_configuration #sync_configuration} => Types::SyncConfiguration
|
@@ -1600,6 +1622,8 @@ module Aws::CodeStarconnections
|
|
1600
1622
|
# resource_name: "ResourceName", # required
|
1601
1623
|
# role_arn: "IamRoleArn",
|
1602
1624
|
# sync_type: "CFN_STACK_SYNC", # required, accepts CFN_STACK_SYNC
|
1625
|
+
# publish_deployment_status: "ENABLED", # accepts ENABLED, DISABLED
|
1626
|
+
# trigger_resource_update_on: "ANY_CHANGE", # accepts ANY_CHANGE, FILE_CHANGE
|
1603
1627
|
# })
|
1604
1628
|
#
|
1605
1629
|
# @example Response structure
|
@@ -1613,6 +1637,8 @@ module Aws::CodeStarconnections
|
|
1613
1637
|
# resp.sync_configuration.resource_name #=> String
|
1614
1638
|
# resp.sync_configuration.role_arn #=> String
|
1615
1639
|
# resp.sync_configuration.sync_type #=> String, one of "CFN_STACK_SYNC"
|
1640
|
+
# resp.sync_configuration.publish_deployment_status #=> String, one of "ENABLED", "DISABLED"
|
1641
|
+
# resp.sync_configuration.trigger_resource_update_on #=> String, one of "ANY_CHANGE", "FILE_CHANGE"
|
1616
1642
|
#
|
1617
1643
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateSyncConfiguration AWS API Documentation
|
1618
1644
|
#
|
@@ -1636,7 +1662,7 @@ module Aws::CodeStarconnections
|
|
1636
1662
|
params: params,
|
1637
1663
|
config: config)
|
1638
1664
|
context[:gem_name] = 'aws-sdk-codestarconnections'
|
1639
|
-
context[:gem_version] = '1.
|
1665
|
+
context[:gem_version] = '1.41.0'
|
1640
1666
|
Seahorse::Client::Request.new(handlers, context)
|
1641
1667
|
end
|
1642
1668
|
|
@@ -93,6 +93,7 @@ module Aws::CodeStarconnections
|
|
93
93
|
OwnerId = Shapes::StringShape.new(name: 'OwnerId')
|
94
94
|
Parent = Shapes::StringShape.new(name: 'Parent')
|
95
95
|
ProviderType = Shapes::StringShape.new(name: 'ProviderType')
|
96
|
+
PublishDeploymentStatus = Shapes::StringShape.new(name: 'PublishDeploymentStatus')
|
96
97
|
RepositoryLinkArn = Shapes::StringShape.new(name: 'RepositoryLinkArn')
|
97
98
|
RepositoryLinkId = Shapes::StringShape.new(name: 'RepositoryLinkId')
|
98
99
|
RepositoryLinkInfo = Shapes::StructureShape.new(name: 'RepositoryLinkInfo')
|
@@ -143,6 +144,7 @@ module Aws::CodeStarconnections
|
|
143
144
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
144
145
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
145
146
|
TlsCertificate = Shapes::StringShape.new(name: 'TlsCertificate')
|
147
|
+
TriggerResourceUpdateOn = Shapes::StringShape.new(name: 'TriggerResourceUpdateOn')
|
146
148
|
Type = Shapes::StringShape.new(name: 'Type')
|
147
149
|
UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
|
148
150
|
UnsupportedProviderTypeException = Shapes::StructureShape.new(name: 'UnsupportedProviderTypeException')
|
@@ -220,6 +222,8 @@ module Aws::CodeStarconnections
|
|
220
222
|
CreateSyncConfigurationInput.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ResourceName"))
|
221
223
|
CreateSyncConfigurationInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "RoleArn"))
|
222
224
|
CreateSyncConfigurationInput.add_member(:sync_type, Shapes::ShapeRef.new(shape: SyncConfigurationType, required: true, location_name: "SyncType"))
|
225
|
+
CreateSyncConfigurationInput.add_member(:publish_deployment_status, Shapes::ShapeRef.new(shape: PublishDeploymentStatus, location_name: "PublishDeploymentStatus"))
|
226
|
+
CreateSyncConfigurationInput.add_member(:trigger_resource_update_on, Shapes::ShapeRef.new(shape: TriggerResourceUpdateOn, location_name: "TriggerResourceUpdateOn"))
|
223
227
|
CreateSyncConfigurationInput.struct_class = Types::CreateSyncConfigurationInput
|
224
228
|
|
225
229
|
CreateSyncConfigurationOutput.add_member(:sync_configuration, Shapes::ShapeRef.new(shape: SyncConfiguration, required: true, location_name: "SyncConfiguration"))
|
@@ -476,6 +480,8 @@ module Aws::CodeStarconnections
|
|
476
480
|
SyncConfiguration.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ResourceName"))
|
477
481
|
SyncConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "RoleArn"))
|
478
482
|
SyncConfiguration.add_member(:sync_type, Shapes::ShapeRef.new(shape: SyncConfigurationType, required: true, location_name: "SyncType"))
|
483
|
+
SyncConfiguration.add_member(:publish_deployment_status, Shapes::ShapeRef.new(shape: PublishDeploymentStatus, location_name: "PublishDeploymentStatus"))
|
484
|
+
SyncConfiguration.add_member(:trigger_resource_update_on, Shapes::ShapeRef.new(shape: TriggerResourceUpdateOn, location_name: "TriggerResourceUpdateOn"))
|
479
485
|
SyncConfiguration.struct_class = Types::SyncConfiguration
|
480
486
|
|
481
487
|
SyncConfigurationList.member = Shapes::ShapeRef.new(shape: SyncConfiguration)
|
@@ -547,6 +553,8 @@ module Aws::CodeStarconnections
|
|
547
553
|
UpdateSyncConfigurationInput.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ResourceName"))
|
548
554
|
UpdateSyncConfigurationInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "RoleArn"))
|
549
555
|
UpdateSyncConfigurationInput.add_member(:sync_type, Shapes::ShapeRef.new(shape: SyncConfigurationType, required: true, location_name: "SyncType"))
|
556
|
+
UpdateSyncConfigurationInput.add_member(:publish_deployment_status, Shapes::ShapeRef.new(shape: PublishDeploymentStatus, location_name: "PublishDeploymentStatus"))
|
557
|
+
UpdateSyncConfigurationInput.add_member(:trigger_resource_update_on, Shapes::ShapeRef.new(shape: TriggerResourceUpdateOn, location_name: "TriggerResourceUpdateOn"))
|
550
558
|
UpdateSyncConfigurationInput.struct_class = Types::UpdateSyncConfigurationInput
|
551
559
|
|
552
560
|
UpdateSyncConfigurationOutput.add_member(:sync_configuration, Shapes::ShapeRef.new(shape: SyncConfiguration, required: true, location_name: "SyncConfiguration"))
|
@@ -307,6 +307,15 @@ module Aws::CodeStarconnections
|
|
307
307
|
# The type of sync configuration.
|
308
308
|
# @return [String]
|
309
309
|
#
|
310
|
+
# @!attribute [rw] publish_deployment_status
|
311
|
+
# Whether to enable or disable publishing of deployment status to
|
312
|
+
# source providers.
|
313
|
+
# @return [String]
|
314
|
+
#
|
315
|
+
# @!attribute [rw] trigger_resource_update_on
|
316
|
+
# When to trigger Git sync to begin the stack update.
|
317
|
+
# @return [String]
|
318
|
+
#
|
310
319
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateSyncConfigurationInput AWS API Documentation
|
311
320
|
#
|
312
321
|
class CreateSyncConfigurationInput < Struct.new(
|
@@ -315,7 +324,9 @@ module Aws::CodeStarconnections
|
|
315
324
|
:repository_link_id,
|
316
325
|
:resource_name,
|
317
326
|
:role_arn,
|
318
|
-
:sync_type
|
327
|
+
:sync_type,
|
328
|
+
:publish_deployment_status,
|
329
|
+
:trigger_resource_update_on)
|
319
330
|
SENSITIVE = []
|
320
331
|
include Aws::Structure
|
321
332
|
end
|
@@ -1470,6 +1481,15 @@ module Aws::CodeStarconnections
|
|
1470
1481
|
# The type of sync for a specific sync configuration.
|
1471
1482
|
# @return [String]
|
1472
1483
|
#
|
1484
|
+
# @!attribute [rw] publish_deployment_status
|
1485
|
+
# Whether to enable or disable publishing of deployment status to
|
1486
|
+
# source providers.
|
1487
|
+
# @return [String]
|
1488
|
+
#
|
1489
|
+
# @!attribute [rw] trigger_resource_update_on
|
1490
|
+
# When to trigger Git sync to begin the stack update.
|
1491
|
+
# @return [String]
|
1492
|
+
#
|
1473
1493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/SyncConfiguration AWS API Documentation
|
1474
1494
|
#
|
1475
1495
|
class SyncConfiguration < Struct.new(
|
@@ -1481,7 +1501,9 @@ module Aws::CodeStarconnections
|
|
1481
1501
|
:repository_name,
|
1482
1502
|
:resource_name,
|
1483
1503
|
:role_arn,
|
1484
|
-
:sync_type
|
1504
|
+
:sync_type,
|
1505
|
+
:publish_deployment_status,
|
1506
|
+
:trigger_resource_update_on)
|
1485
1507
|
SENSITIVE = []
|
1486
1508
|
include Aws::Structure
|
1487
1509
|
end
|
@@ -1758,6 +1780,15 @@ module Aws::CodeStarconnections
|
|
1758
1780
|
# The sync type for the sync configuration to be updated.
|
1759
1781
|
# @return [String]
|
1760
1782
|
#
|
1783
|
+
# @!attribute [rw] publish_deployment_status
|
1784
|
+
# Whether to enable or disable publishing of deployment status to
|
1785
|
+
# source providers.
|
1786
|
+
# @return [String]
|
1787
|
+
#
|
1788
|
+
# @!attribute [rw] trigger_resource_update_on
|
1789
|
+
# When to trigger Git sync to begin the stack update.
|
1790
|
+
# @return [String]
|
1791
|
+
#
|
1761
1792
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateSyncConfigurationInput AWS API Documentation
|
1762
1793
|
#
|
1763
1794
|
class UpdateSyncConfigurationInput < Struct.new(
|
@@ -1766,7 +1797,9 @@ module Aws::CodeStarconnections
|
|
1766
1797
|
:repository_link_id,
|
1767
1798
|
:resource_name,
|
1768
1799
|
:role_arn,
|
1769
|
-
:sync_type
|
1800
|
+
:sync_type,
|
1801
|
+
:publish_deployment_status,
|
1802
|
+
:trigger_resource_update_on)
|
1770
1803
|
SENSITIVE = []
|
1771
1804
|
include Aws::Structure
|
1772
1805
|
end
|
data/sig/client.rbs
CHANGED
@@ -147,7 +147,9 @@ module Aws
|
|
147
147
|
repository_link_id: ::String,
|
148
148
|
resource_name: ::String,
|
149
149
|
role_arn: ::String,
|
150
|
-
sync_type: ("CFN_STACK_SYNC")
|
150
|
+
sync_type: ("CFN_STACK_SYNC"),
|
151
|
+
?publish_deployment_status: ("ENABLED" | "DISABLED"),
|
152
|
+
?trigger_resource_update_on: ("ANY_CHANGE" | "FILE_CHANGE")
|
151
153
|
) -> _CreateSyncConfigurationResponseSuccess
|
152
154
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSyncConfigurationResponseSuccess
|
153
155
|
|
@@ -422,7 +424,9 @@ module Aws
|
|
422
424
|
?repository_link_id: ::String,
|
423
425
|
resource_name: ::String,
|
424
426
|
?role_arn: ::String,
|
425
|
-
sync_type: ("CFN_STACK_SYNC")
|
427
|
+
sync_type: ("CFN_STACK_SYNC"),
|
428
|
+
?publish_deployment_status: ("ENABLED" | "DISABLED"),
|
429
|
+
?trigger_resource_update_on: ("ANY_CHANGE" | "FILE_CHANGE")
|
426
430
|
) -> _UpdateSyncConfigurationResponseSuccess
|
427
431
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSyncConfigurationResponseSuccess
|
428
432
|
end
|
data/sig/types.rbs
CHANGED
@@ -88,6 +88,8 @@ module Aws::CodeStarconnections
|
|
88
88
|
attr_accessor resource_name: ::String
|
89
89
|
attr_accessor role_arn: ::String
|
90
90
|
attr_accessor sync_type: ("CFN_STACK_SYNC")
|
91
|
+
attr_accessor publish_deployment_status: ("ENABLED" | "DISABLED")
|
92
|
+
attr_accessor trigger_resource_update_on: ("ANY_CHANGE" | "FILE_CHANGE")
|
91
93
|
SENSITIVE: []
|
92
94
|
end
|
93
95
|
|
@@ -432,6 +434,8 @@ module Aws::CodeStarconnections
|
|
432
434
|
attr_accessor resource_name: ::String
|
433
435
|
attr_accessor role_arn: ::String
|
434
436
|
attr_accessor sync_type: ("CFN_STACK_SYNC")
|
437
|
+
attr_accessor publish_deployment_status: ("ENABLED" | "DISABLED")
|
438
|
+
attr_accessor trigger_resource_update_on: ("ANY_CHANGE" | "FILE_CHANGE")
|
435
439
|
SENSITIVE: []
|
436
440
|
end
|
437
441
|
|
@@ -528,6 +532,8 @@ module Aws::CodeStarconnections
|
|
528
532
|
attr_accessor resource_name: ::String
|
529
533
|
attr_accessor role_arn: ::String
|
530
534
|
attr_accessor sync_type: ("CFN_STACK_SYNC")
|
535
|
+
attr_accessor publish_deployment_status: ("ENABLED" | "DISABLED")
|
536
|
+
attr_accessor trigger_resource_update_on: ("ANY_CHANGE" | "FILE_CHANGE")
|
531
537
|
SENSITIVE: []
|
532
538
|
end
|
533
539
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-codestarconnections
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.41.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: 2024-
|
11
|
+
date: 2024-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|