aws-sdk-codedeploy 1.2.0 → 1.3.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/lib/aws-sdk-codedeploy.rb +1 -1
- data/lib/aws-sdk-codedeploy/client.rb +31 -3
- data/lib/aws-sdk-codedeploy/client_api.rb +25 -1
- data/lib/aws-sdk-codedeploy/types.rb +34 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc596457aca250f751061f31d65bb7e87fc6701d
|
4
|
+
data.tar.gz: 2efd7a269e56d474e550f6fc364db6e89aa5f768
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b62938965acf98cf1d2443066d1140e2e09f72d8316f1af47c9b0a33bb57158f609914520918eb111cc87cb65e410d8ad2a68839ef53e08ae3c3840a7c03c9ef
|
7
|
+
data.tar.gz: 5fec585ee48eccb030b20584b83071f1e2c17c4e69af62475c6945234c838c57b4712a1648eb98bd82d0608100b3eb7280e8c2dc240a62e8a421d36c7736847a
|
data/lib/aws-sdk-codedeploy.rb
CHANGED
@@ -791,7 +791,7 @@ module Aws::CodeDeploy
|
|
791
791
|
# @option params [required, String] :deployment_config_name
|
792
792
|
# The name of the deployment configuration to create.
|
793
793
|
#
|
794
|
-
# @option params [
|
794
|
+
# @option params [Types::MinimumHealthyHosts] :minimum_healthy_hosts
|
795
795
|
# The minimum number of healthy instances that should be available at
|
796
796
|
# any time during the deployment. There are two parameters expected in
|
797
797
|
# the input: type and value.
|
@@ -828,7 +828,7 @@ module Aws::CodeDeploy
|
|
828
828
|
#
|
829
829
|
# resp = client.create_deployment_config({
|
830
830
|
# deployment_config_name: "DeploymentConfigName", # required
|
831
|
-
# minimum_healthy_hosts: {
|
831
|
+
# minimum_healthy_hosts: {
|
832
832
|
# value: 1,
|
833
833
|
# type: "HOST_COUNT", # accepts HOST_COUNT, FLEET_PERCENT
|
834
834
|
# },
|
@@ -1143,6 +1143,34 @@ module Aws::CodeDeploy
|
|
1143
1143
|
req.send_request(options)
|
1144
1144
|
end
|
1145
1145
|
|
1146
|
+
# Deletes a GitHub account connection.
|
1147
|
+
#
|
1148
|
+
# @option params [String] :token_name
|
1149
|
+
# The name of the GitHub account connection to delete.
|
1150
|
+
#
|
1151
|
+
# @return [Types::DeleteGitHubAccountTokenOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1152
|
+
#
|
1153
|
+
# * {Types::DeleteGitHubAccountTokenOutput#token_name #token_name} => String
|
1154
|
+
#
|
1155
|
+
# @example Request syntax with placeholder values
|
1156
|
+
#
|
1157
|
+
# resp = client.delete_git_hub_account_token({
|
1158
|
+
# token_name: "GitHubAccountTokenName",
|
1159
|
+
# })
|
1160
|
+
#
|
1161
|
+
# @example Response structure
|
1162
|
+
#
|
1163
|
+
# resp.token_name #=> String
|
1164
|
+
#
|
1165
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteGitHubAccountToken AWS API Documentation
|
1166
|
+
#
|
1167
|
+
# @overload delete_git_hub_account_token(params = {})
|
1168
|
+
# @param [Hash] params ({})
|
1169
|
+
def delete_git_hub_account_token(params = {}, options = {})
|
1170
|
+
req = build_request(:delete_git_hub_account_token, params)
|
1171
|
+
req.send_request(options)
|
1172
|
+
end
|
1173
|
+
|
1146
1174
|
# Deregisters an on-premises instance.
|
1147
1175
|
#
|
1148
1176
|
# @option params [required, String] :instance_name
|
@@ -2464,7 +2492,7 @@ module Aws::CodeDeploy
|
|
2464
2492
|
params: params,
|
2465
2493
|
config: config)
|
2466
2494
|
context[:gem_name] = 'aws-sdk-codedeploy'
|
2467
|
-
context[:gem_version] = '1.
|
2495
|
+
context[:gem_version] = '1.3.0'
|
2468
2496
|
Seahorse::Client::Request.new(handlers, context)
|
2469
2497
|
end
|
2470
2498
|
|
@@ -69,6 +69,8 @@ module Aws::CodeDeploy
|
|
69
69
|
DeleteDeploymentConfigInput = Shapes::StructureShape.new(name: 'DeleteDeploymentConfigInput')
|
70
70
|
DeleteDeploymentGroupInput = Shapes::StructureShape.new(name: 'DeleteDeploymentGroupInput')
|
71
71
|
DeleteDeploymentGroupOutput = Shapes::StructureShape.new(name: 'DeleteDeploymentGroupOutput')
|
72
|
+
DeleteGitHubAccountTokenInput = Shapes::StructureShape.new(name: 'DeleteGitHubAccountTokenInput')
|
73
|
+
DeleteGitHubAccountTokenOutput = Shapes::StructureShape.new(name: 'DeleteGitHubAccountTokenOutput')
|
72
74
|
DeploymentAlreadyCompletedException = Shapes::StructureShape.new(name: 'DeploymentAlreadyCompletedException')
|
73
75
|
DeploymentConfigAlreadyExistsException = Shapes::StructureShape.new(name: 'DeploymentConfigAlreadyExistsException')
|
74
76
|
DeploymentConfigDoesNotExistException = Shapes::StructureShape.new(name: 'DeploymentConfigDoesNotExistException')
|
@@ -143,6 +145,7 @@ module Aws::CodeDeploy
|
|
143
145
|
GitHubAccountTokenDoesNotExistException = Shapes::StructureShape.new(name: 'GitHubAccountTokenDoesNotExistException')
|
144
146
|
GitHubAccountTokenName = Shapes::StringShape.new(name: 'GitHubAccountTokenName')
|
145
147
|
GitHubAccountTokenNameList = Shapes::ListShape.new(name: 'GitHubAccountTokenNameList')
|
148
|
+
GitHubAccountTokenNameRequiredException = Shapes::StructureShape.new(name: 'GitHubAccountTokenNameRequiredException')
|
146
149
|
GitHubLocation = Shapes::StructureShape.new(name: 'GitHubLocation')
|
147
150
|
GreenFleetProvisioningAction = Shapes::StringShape.new(name: 'GreenFleetProvisioningAction')
|
148
151
|
GreenFleetProvisioningOption = Shapes::StructureShape.new(name: 'GreenFleetProvisioningOption')
|
@@ -427,7 +430,7 @@ module Aws::CodeDeploy
|
|
427
430
|
CreateApplicationOutput.struct_class = Types::CreateApplicationOutput
|
428
431
|
|
429
432
|
CreateDeploymentConfigInput.add_member(:deployment_config_name, Shapes::ShapeRef.new(shape: DeploymentConfigName, required: true, location_name: "deploymentConfigName"))
|
430
|
-
CreateDeploymentConfigInput.add_member(:minimum_healthy_hosts, Shapes::ShapeRef.new(shape: MinimumHealthyHosts,
|
433
|
+
CreateDeploymentConfigInput.add_member(:minimum_healthy_hosts, Shapes::ShapeRef.new(shape: MinimumHealthyHosts, location_name: "minimumHealthyHosts"))
|
431
434
|
CreateDeploymentConfigInput.add_member(:traffic_routing_config, Shapes::ShapeRef.new(shape: TrafficRoutingConfig, location_name: "trafficRoutingConfig"))
|
432
435
|
CreateDeploymentConfigInput.add_member(:compute_platform, Shapes::ShapeRef.new(shape: ComputePlatform, location_name: "computePlatform"))
|
433
436
|
CreateDeploymentConfigInput.struct_class = Types::CreateDeploymentConfigInput
|
@@ -483,6 +486,12 @@ module Aws::CodeDeploy
|
|
483
486
|
DeleteDeploymentGroupOutput.add_member(:hooks_not_cleaned_up, Shapes::ShapeRef.new(shape: AutoScalingGroupList, location_name: "hooksNotCleanedUp"))
|
484
487
|
DeleteDeploymentGroupOutput.struct_class = Types::DeleteDeploymentGroupOutput
|
485
488
|
|
489
|
+
DeleteGitHubAccountTokenInput.add_member(:token_name, Shapes::ShapeRef.new(shape: GitHubAccountTokenName, location_name: "tokenName"))
|
490
|
+
DeleteGitHubAccountTokenInput.struct_class = Types::DeleteGitHubAccountTokenInput
|
491
|
+
|
492
|
+
DeleteGitHubAccountTokenOutput.add_member(:token_name, Shapes::ShapeRef.new(shape: GitHubAccountTokenName, location_name: "tokenName"))
|
493
|
+
DeleteGitHubAccountTokenOutput.struct_class = Types::DeleteGitHubAccountTokenOutput
|
494
|
+
|
486
495
|
DeploymentConfigInfo.add_member(:deployment_config_id, Shapes::ShapeRef.new(shape: DeploymentConfigId, location_name: "deploymentConfigId"))
|
487
496
|
DeploymentConfigInfo.add_member(:deployment_config_name, Shapes::ShapeRef.new(shape: DeploymentConfigName, location_name: "deploymentConfigName"))
|
488
497
|
DeploymentConfigInfo.add_member(:minimum_healthy_hosts, Shapes::ShapeRef.new(shape: MinimumHealthyHosts, location_name: "minimumHealthyHosts"))
|
@@ -955,6 +964,7 @@ module Aws::CodeDeploy
|
|
955
964
|
o.input = Shapes::ShapeRef.new(shape: AddTagsToOnPremisesInstancesInput)
|
956
965
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
957
966
|
o.errors << Shapes::ShapeRef.new(shape: InstanceNameRequiredException)
|
967
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInstanceNameException)
|
958
968
|
o.errors << Shapes::ShapeRef.new(shape: TagRequiredException)
|
959
969
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTagException)
|
960
970
|
o.errors << Shapes::ShapeRef.new(shape: TagLimitExceededException)
|
@@ -1180,6 +1190,19 @@ module Aws::CodeDeploy
|
|
1180
1190
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRoleException)
|
1181
1191
|
end)
|
1182
1192
|
|
1193
|
+
api.add_operation(:delete_git_hub_account_token, Seahorse::Model::Operation.new.tap do |o|
|
1194
|
+
o.name = "DeleteGitHubAccountToken"
|
1195
|
+
o.http_method = "POST"
|
1196
|
+
o.http_request_uri = "/"
|
1197
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteGitHubAccountTokenInput)
|
1198
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteGitHubAccountTokenOutput)
|
1199
|
+
o.errors << Shapes::ShapeRef.new(shape: GitHubAccountTokenNameRequiredException)
|
1200
|
+
o.errors << Shapes::ShapeRef.new(shape: GitHubAccountTokenDoesNotExistException)
|
1201
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGitHubAccountTokenNameException)
|
1202
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceValidationException)
|
1203
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
|
1204
|
+
end)
|
1205
|
+
|
1183
1206
|
api.add_operation(:deregister_on_premises_instance, Seahorse::Model::Operation.new.tap do |o|
|
1184
1207
|
o.name = "DeregisterOnPremisesInstance"
|
1185
1208
|
o.http_method = "POST"
|
@@ -1463,6 +1486,7 @@ module Aws::CodeDeploy
|
|
1463
1486
|
o.input = Shapes::ShapeRef.new(shape: RemoveTagsFromOnPremisesInstancesInput)
|
1464
1487
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1465
1488
|
o.errors << Shapes::ShapeRef.new(shape: InstanceNameRequiredException)
|
1489
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInstanceNameException)
|
1466
1490
|
o.errors << Shapes::ShapeRef.new(shape: TagRequiredException)
|
1467
1491
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTagException)
|
1468
1492
|
o.errors << Shapes::ShapeRef.new(shape: TagLimitExceededException)
|
@@ -603,7 +603,7 @@ module Aws::CodeDeploy
|
|
603
603
|
#
|
604
604
|
# {
|
605
605
|
# deployment_config_name: "DeploymentConfigName", # required
|
606
|
-
# minimum_healthy_hosts: {
|
606
|
+
# minimum_healthy_hosts: {
|
607
607
|
# value: 1,
|
608
608
|
# type: "HOST_COUNT", # accepts HOST_COUNT, FLEET_PERCENT
|
609
609
|
# },
|
@@ -1159,6 +1159,39 @@ module Aws::CodeDeploy
|
|
1159
1159
|
include Aws::Structure
|
1160
1160
|
end
|
1161
1161
|
|
1162
|
+
# Represents the input of a DeleteGitHubAccount operation.
|
1163
|
+
#
|
1164
|
+
# @note When making an API call, you may pass DeleteGitHubAccountTokenInput
|
1165
|
+
# data as a hash:
|
1166
|
+
#
|
1167
|
+
# {
|
1168
|
+
# token_name: "GitHubAccountTokenName",
|
1169
|
+
# }
|
1170
|
+
#
|
1171
|
+
# @!attribute [rw] token_name
|
1172
|
+
# The name of the GitHub account connection to delete.
|
1173
|
+
# @return [String]
|
1174
|
+
#
|
1175
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteGitHubAccountTokenInput AWS API Documentation
|
1176
|
+
#
|
1177
|
+
class DeleteGitHubAccountTokenInput < Struct.new(
|
1178
|
+
:token_name)
|
1179
|
+
include Aws::Structure
|
1180
|
+
end
|
1181
|
+
|
1182
|
+
# Represents the output of a DeleteGitHubAccountToken operation.
|
1183
|
+
#
|
1184
|
+
# @!attribute [rw] token_name
|
1185
|
+
# The name of the GitHub account connection that was deleted.
|
1186
|
+
# @return [String]
|
1187
|
+
#
|
1188
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteGitHubAccountTokenOutput AWS API Documentation
|
1189
|
+
#
|
1190
|
+
class DeleteGitHubAccountTokenOutput < Struct.new(
|
1191
|
+
:token_name)
|
1192
|
+
include Aws::Structure
|
1193
|
+
end
|
1194
|
+
|
1162
1195
|
# Information about a deployment configuration.
|
1163
1196
|
#
|
1164
1197
|
# @!attribute [rw] deployment_config_id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-codedeploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.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:
|
11
|
+
date: 2018-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|