aws-sdk-servicecatalog 1.8.0 → 1.9.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-servicecatalog.rb +1 -1
- data/lib/aws-sdk-servicecatalog/client.rb +650 -1
- data/lib/aws-sdk-servicecatalog/client_api.rb +318 -0
- data/lib/aws-sdk-servicecatalog/types.rb +856 -34
- 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: d665bf1ec164ffed503665c6c49fb44658836a25
|
4
|
+
data.tar.gz: 8647dacd84c2592c2cf03af336cb9878be716c29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 617b17db32da5c158d9764815bc4cce991870e801b66fd16138555577ce26046483a1db1edd778140b6cce2c82e891116e90e00b8f784a3ddaf3cdbab7d83056
|
7
|
+
data.tar.gz: 26b0fce834f3db9cd5b3650bd5bfcc6891613a5aefc10c1a498b5a89e65ad333533c50969b53e2d035b36a5774933e0d8ae3aa7b497fc548651a51a2d7629b86
|
@@ -298,6 +298,47 @@ module Aws::ServiceCatalog
|
|
298
298
|
req.send_request(options)
|
299
299
|
end
|
300
300
|
|
301
|
+
# Associates a self-service action with a provisioning artifact.
|
302
|
+
#
|
303
|
+
# @option params [required, String] :product_id
|
304
|
+
# The product identifier. For example, `prod-abcdzk7xy33qa`.
|
305
|
+
#
|
306
|
+
# @option params [required, String] :provisioning_artifact_id
|
307
|
+
# The identifier of the provisioning artifact. For example,
|
308
|
+
# `pa-4abcdjnxjj6ne`.
|
309
|
+
#
|
310
|
+
# @option params [required, String] :service_action_id
|
311
|
+
# The self-service action identifier. For example, `act-fs7abcd89wxyz`.
|
312
|
+
#
|
313
|
+
# @option params [String] :accept_language
|
314
|
+
# The language code.
|
315
|
+
#
|
316
|
+
# * `en` - English (default)
|
317
|
+
#
|
318
|
+
# * `jp` - Japanese
|
319
|
+
#
|
320
|
+
# * `zh` - Chinese
|
321
|
+
#
|
322
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
323
|
+
#
|
324
|
+
# @example Request syntax with placeholder values
|
325
|
+
#
|
326
|
+
# resp = client.associate_service_action_with_provisioning_artifact({
|
327
|
+
# product_id: "Id", # required
|
328
|
+
# provisioning_artifact_id: "Id", # required
|
329
|
+
# service_action_id: "Id", # required
|
330
|
+
# accept_language: "AcceptLanguage",
|
331
|
+
# })
|
332
|
+
#
|
333
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateServiceActionWithProvisioningArtifact AWS API Documentation
|
334
|
+
#
|
335
|
+
# @overload associate_service_action_with_provisioning_artifact(params = {})
|
336
|
+
# @param [Hash] params ({})
|
337
|
+
def associate_service_action_with_provisioning_artifact(params = {}, options = {})
|
338
|
+
req = build_request(:associate_service_action_with_provisioning_artifact, params)
|
339
|
+
req.send_request(options)
|
340
|
+
end
|
341
|
+
|
301
342
|
# Associate the specified TagOption with the specified portfolio or
|
302
343
|
# product.
|
303
344
|
#
|
@@ -325,6 +366,107 @@ module Aws::ServiceCatalog
|
|
325
366
|
req.send_request(options)
|
326
367
|
end
|
327
368
|
|
369
|
+
# Associates multiple self-service actions with provisioning artifacts.
|
370
|
+
#
|
371
|
+
# @option params [required, Array<Types::ServiceActionAssociation>] :service_action_associations
|
372
|
+
# One or more associations, each consisting of the Action ID, the
|
373
|
+
# Product ID, and the Provisioning Artifact ID.
|
374
|
+
#
|
375
|
+
# @option params [String] :accept_language
|
376
|
+
# The language code.
|
377
|
+
#
|
378
|
+
# * `en` - English (default)
|
379
|
+
#
|
380
|
+
# * `jp` - Japanese
|
381
|
+
#
|
382
|
+
# * `zh` - Chinese
|
383
|
+
#
|
384
|
+
# @return [Types::BatchAssociateServiceActionWithProvisioningArtifactOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
385
|
+
#
|
386
|
+
# * {Types::BatchAssociateServiceActionWithProvisioningArtifactOutput#failed_service_action_associations #failed_service_action_associations} => Array<Types::FailedServiceActionAssociation>
|
387
|
+
#
|
388
|
+
# @example Request syntax with placeholder values
|
389
|
+
#
|
390
|
+
# resp = client.batch_associate_service_action_with_provisioning_artifact({
|
391
|
+
# service_action_associations: [ # required
|
392
|
+
# {
|
393
|
+
# service_action_id: "Id", # required
|
394
|
+
# product_id: "Id", # required
|
395
|
+
# provisioning_artifact_id: "Id", # required
|
396
|
+
# },
|
397
|
+
# ],
|
398
|
+
# accept_language: "AcceptLanguage",
|
399
|
+
# })
|
400
|
+
#
|
401
|
+
# @example Response structure
|
402
|
+
#
|
403
|
+
# resp.failed_service_action_associations #=> Array
|
404
|
+
# resp.failed_service_action_associations[0].service_action_id #=> String
|
405
|
+
# resp.failed_service_action_associations[0].product_id #=> String
|
406
|
+
# resp.failed_service_action_associations[0].provisioning_artifact_id #=> String
|
407
|
+
# resp.failed_service_action_associations[0].error_code #=> String, one of "DUPLICATE_RESOURCE", "INTERNAL_FAILURE", "LIMIT_EXCEEDED", "RESOURCE_NOT_FOUND", "THROTTLING"
|
408
|
+
# resp.failed_service_action_associations[0].error_message #=> String
|
409
|
+
#
|
410
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/BatchAssociateServiceActionWithProvisioningArtifact AWS API Documentation
|
411
|
+
#
|
412
|
+
# @overload batch_associate_service_action_with_provisioning_artifact(params = {})
|
413
|
+
# @param [Hash] params ({})
|
414
|
+
def batch_associate_service_action_with_provisioning_artifact(params = {}, options = {})
|
415
|
+
req = build_request(:batch_associate_service_action_with_provisioning_artifact, params)
|
416
|
+
req.send_request(options)
|
417
|
+
end
|
418
|
+
|
419
|
+
# Disassociates a batch of self-service actions from the specified
|
420
|
+
# provisioning artifact.
|
421
|
+
#
|
422
|
+
# @option params [required, Array<Types::ServiceActionAssociation>] :service_action_associations
|
423
|
+
# One or more associations, each consisting of the Action ID, the
|
424
|
+
# Product ID, and the Provisioning Artifact ID.
|
425
|
+
#
|
426
|
+
# @option params [String] :accept_language
|
427
|
+
# The language code.
|
428
|
+
#
|
429
|
+
# * `en` - English (default)
|
430
|
+
#
|
431
|
+
# * `jp` - Japanese
|
432
|
+
#
|
433
|
+
# * `zh` - Chinese
|
434
|
+
#
|
435
|
+
# @return [Types::BatchDisassociateServiceActionFromProvisioningArtifactOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
436
|
+
#
|
437
|
+
# * {Types::BatchDisassociateServiceActionFromProvisioningArtifactOutput#failed_service_action_associations #failed_service_action_associations} => Array<Types::FailedServiceActionAssociation>
|
438
|
+
#
|
439
|
+
# @example Request syntax with placeholder values
|
440
|
+
#
|
441
|
+
# resp = client.batch_disassociate_service_action_from_provisioning_artifact({
|
442
|
+
# service_action_associations: [ # required
|
443
|
+
# {
|
444
|
+
# service_action_id: "Id", # required
|
445
|
+
# product_id: "Id", # required
|
446
|
+
# provisioning_artifact_id: "Id", # required
|
447
|
+
# },
|
448
|
+
# ],
|
449
|
+
# accept_language: "AcceptLanguage",
|
450
|
+
# })
|
451
|
+
#
|
452
|
+
# @example Response structure
|
453
|
+
#
|
454
|
+
# resp.failed_service_action_associations #=> Array
|
455
|
+
# resp.failed_service_action_associations[0].service_action_id #=> String
|
456
|
+
# resp.failed_service_action_associations[0].product_id #=> String
|
457
|
+
# resp.failed_service_action_associations[0].provisioning_artifact_id #=> String
|
458
|
+
# resp.failed_service_action_associations[0].error_code #=> String, one of "DUPLICATE_RESOURCE", "INTERNAL_FAILURE", "LIMIT_EXCEEDED", "RESOURCE_NOT_FOUND", "THROTTLING"
|
459
|
+
# resp.failed_service_action_associations[0].error_message #=> String
|
460
|
+
#
|
461
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/BatchDisassociateServiceActionFromProvisioningArtifact AWS API Documentation
|
462
|
+
#
|
463
|
+
# @overload batch_disassociate_service_action_from_provisioning_artifact(params = {})
|
464
|
+
# @param [Hash] params ({})
|
465
|
+
def batch_disassociate_service_action_from_provisioning_artifact(params = {}, options = {})
|
466
|
+
req = build_request(:batch_disassociate_service_action_from_provisioning_artifact, params)
|
467
|
+
req.send_request(options)
|
468
|
+
end
|
469
|
+
|
328
470
|
# Copies the specified source product to the specified target product or
|
329
471
|
# a new product.
|
330
472
|
#
|
@@ -917,6 +1059,97 @@ module Aws::ServiceCatalog
|
|
917
1059
|
req.send_request(options)
|
918
1060
|
end
|
919
1061
|
|
1062
|
+
# Creates a self-service action.
|
1063
|
+
#
|
1064
|
+
# @option params [required, String] :name
|
1065
|
+
# The self-service action name.
|
1066
|
+
#
|
1067
|
+
# @option params [required, String] :definition_type
|
1068
|
+
# The service action definition type. For example, `SSM_AUTOMATION`.
|
1069
|
+
#
|
1070
|
+
# @option params [required, Hash<String,String>] :definition
|
1071
|
+
# The self-service action definition. Can be one of the following:
|
1072
|
+
#
|
1073
|
+
# Name
|
1074
|
+
#
|
1075
|
+
# : The name of the AWS Systems Manager Document. For example,
|
1076
|
+
# `AWS-RestartEC2Instance`.
|
1077
|
+
#
|
1078
|
+
# Version
|
1079
|
+
#
|
1080
|
+
# : The AWS Systems Manager automation document version. For example,
|
1081
|
+
# `"Version": "1"`
|
1082
|
+
#
|
1083
|
+
# AssumeRole
|
1084
|
+
#
|
1085
|
+
# : The Amazon Resource Name (ARN) of the role that performs the
|
1086
|
+
# self-service actions on your behalf. For example, `"AssumeRole":
|
1087
|
+
# "arn:aws:iam::12345678910:role/ActionRole"`.
|
1088
|
+
#
|
1089
|
+
# To reuse the provisioned product launch role, set to `"AssumeRole":
|
1090
|
+
# "LAUNCH_ROLE"`.
|
1091
|
+
#
|
1092
|
+
# Parameters
|
1093
|
+
#
|
1094
|
+
# : The list of parameters in JSON format.
|
1095
|
+
#
|
1096
|
+
# For example: `[\{"Name":"InstanceId","Type":"TARGET"\}]`.
|
1097
|
+
#
|
1098
|
+
# @option params [String] :description
|
1099
|
+
# The self-service action description.
|
1100
|
+
#
|
1101
|
+
# @option params [String] :accept_language
|
1102
|
+
# The language code.
|
1103
|
+
#
|
1104
|
+
# * `en` - English (default)
|
1105
|
+
#
|
1106
|
+
# * `jp` - Japanese
|
1107
|
+
#
|
1108
|
+
# * `zh` - Chinese
|
1109
|
+
#
|
1110
|
+
# @option params [required, String] :idempotency_token
|
1111
|
+
# A unique identifier that you provide to ensure idempotency. If
|
1112
|
+
# multiple requests differ only by the idempotency token, the same
|
1113
|
+
# response is returned for each repeated request.
|
1114
|
+
#
|
1115
|
+
# **A suitable default value is auto-generated.** You should normally
|
1116
|
+
# not need to pass this option.**
|
1117
|
+
#
|
1118
|
+
# @return [Types::CreateServiceActionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1119
|
+
#
|
1120
|
+
# * {Types::CreateServiceActionOutput#service_action_detail #service_action_detail} => Types::ServiceActionDetail
|
1121
|
+
#
|
1122
|
+
# @example Request syntax with placeholder values
|
1123
|
+
#
|
1124
|
+
# resp = client.create_service_action({
|
1125
|
+
# name: "ServiceActionName", # required
|
1126
|
+
# definition_type: "SSM_AUTOMATION", # required, accepts SSM_AUTOMATION
|
1127
|
+
# definition: { # required
|
1128
|
+
# "Name" => "ServiceActionDefinitionValue",
|
1129
|
+
# },
|
1130
|
+
# description: "ServiceActionDescription",
|
1131
|
+
# accept_language: "AcceptLanguage",
|
1132
|
+
# idempotency_token: "IdempotencyToken", # required
|
1133
|
+
# })
|
1134
|
+
#
|
1135
|
+
# @example Response structure
|
1136
|
+
#
|
1137
|
+
# resp.service_action_detail.service_action_summary.id #=> String
|
1138
|
+
# resp.service_action_detail.service_action_summary.name #=> String
|
1139
|
+
# resp.service_action_detail.service_action_summary.description #=> String
|
1140
|
+
# resp.service_action_detail.service_action_summary.definition_type #=> String, one of "SSM_AUTOMATION"
|
1141
|
+
# resp.service_action_detail.definition #=> Hash
|
1142
|
+
# resp.service_action_detail.definition["ServiceActionDefinitionKey"] #=> String
|
1143
|
+
#
|
1144
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateServiceAction AWS API Documentation
|
1145
|
+
#
|
1146
|
+
# @overload create_service_action(params = {})
|
1147
|
+
# @param [Hash] params ({})
|
1148
|
+
def create_service_action(params = {}, options = {})
|
1149
|
+
req = build_request(:create_service_action, params)
|
1150
|
+
req.send_request(options)
|
1151
|
+
end
|
1152
|
+
|
920
1153
|
# Creates a TagOption.
|
921
1154
|
#
|
922
1155
|
# @option params [required, String] :key
|
@@ -1169,6 +1402,38 @@ module Aws::ServiceCatalog
|
|
1169
1402
|
req.send_request(options)
|
1170
1403
|
end
|
1171
1404
|
|
1405
|
+
# Deletes a self-service action.
|
1406
|
+
#
|
1407
|
+
# @option params [required, String] :id
|
1408
|
+
# The self-service action identifier. For example, `act-fs7abcd89wxyz`.
|
1409
|
+
#
|
1410
|
+
# @option params [String] :accept_language
|
1411
|
+
# The language code.
|
1412
|
+
#
|
1413
|
+
# * `en` - English (default)
|
1414
|
+
#
|
1415
|
+
# * `jp` - Japanese
|
1416
|
+
#
|
1417
|
+
# * `zh` - Chinese
|
1418
|
+
#
|
1419
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1420
|
+
#
|
1421
|
+
# @example Request syntax with placeholder values
|
1422
|
+
#
|
1423
|
+
# resp = client.delete_service_action({
|
1424
|
+
# id: "Id", # required
|
1425
|
+
# accept_language: "AcceptLanguage",
|
1426
|
+
# })
|
1427
|
+
#
|
1428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteServiceAction AWS API Documentation
|
1429
|
+
#
|
1430
|
+
# @overload delete_service_action(params = {})
|
1431
|
+
# @param [Hash] params ({})
|
1432
|
+
def delete_service_action(params = {}, options = {})
|
1433
|
+
req = build_request(:delete_service_action, params)
|
1434
|
+
req.send_request(options)
|
1435
|
+
end
|
1436
|
+
|
1172
1437
|
# Deletes the specified TagOption.
|
1173
1438
|
#
|
1174
1439
|
# You cannot delete a TagOption if it is associated with a product or
|
@@ -1550,6 +1815,8 @@ module Aws::ServiceCatalog
|
|
1550
1815
|
# resp.provisioned_product_detail.created_time #=> Time
|
1551
1816
|
# resp.provisioned_product_detail.idempotency_token #=> String
|
1552
1817
|
# resp.provisioned_product_detail.last_record_id #=> String
|
1818
|
+
# resp.provisioned_product_detail.product_id #=> String
|
1819
|
+
# resp.provisioned_product_detail.provisioning_artifact_id #=> String
|
1553
1820
|
# resp.cloud_watch_dashboards #=> Array
|
1554
1821
|
# resp.cloud_watch_dashboards[0].name #=> String
|
1555
1822
|
#
|
@@ -1855,6 +2122,49 @@ module Aws::ServiceCatalog
|
|
1855
2122
|
req.send_request(options)
|
1856
2123
|
end
|
1857
2124
|
|
2125
|
+
# Describes a self-service action.
|
2126
|
+
#
|
2127
|
+
# @option params [required, String] :id
|
2128
|
+
# The self-service action identifier.
|
2129
|
+
#
|
2130
|
+
# @option params [String] :accept_language
|
2131
|
+
# The language code.
|
2132
|
+
#
|
2133
|
+
# * `en` - English (default)
|
2134
|
+
#
|
2135
|
+
# * `jp` - Japanese
|
2136
|
+
#
|
2137
|
+
# * `zh` - Chinese
|
2138
|
+
#
|
2139
|
+
# @return [Types::DescribeServiceActionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2140
|
+
#
|
2141
|
+
# * {Types::DescribeServiceActionOutput#service_action_detail #service_action_detail} => Types::ServiceActionDetail
|
2142
|
+
#
|
2143
|
+
# @example Request syntax with placeholder values
|
2144
|
+
#
|
2145
|
+
# resp = client.describe_service_action({
|
2146
|
+
# id: "Id", # required
|
2147
|
+
# accept_language: "AcceptLanguage",
|
2148
|
+
# })
|
2149
|
+
#
|
2150
|
+
# @example Response structure
|
2151
|
+
#
|
2152
|
+
# resp.service_action_detail.service_action_summary.id #=> String
|
2153
|
+
# resp.service_action_detail.service_action_summary.name #=> String
|
2154
|
+
# resp.service_action_detail.service_action_summary.description #=> String
|
2155
|
+
# resp.service_action_detail.service_action_summary.definition_type #=> String, one of "SSM_AUTOMATION"
|
2156
|
+
# resp.service_action_detail.definition #=> Hash
|
2157
|
+
# resp.service_action_detail.definition["ServiceActionDefinitionKey"] #=> String
|
2158
|
+
#
|
2159
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeServiceAction AWS API Documentation
|
2160
|
+
#
|
2161
|
+
# @overload describe_service_action(params = {})
|
2162
|
+
# @param [Hash] params ({})
|
2163
|
+
def describe_service_action(params = {}, options = {})
|
2164
|
+
req = build_request(:describe_service_action, params)
|
2165
|
+
req.send_request(options)
|
2166
|
+
end
|
2167
|
+
|
1858
2168
|
# Gets information about the specified TagOption.
|
1859
2169
|
#
|
1860
2170
|
# @option params [required, String] :id
|
@@ -1959,6 +2269,48 @@ module Aws::ServiceCatalog
|
|
1959
2269
|
req.send_request(options)
|
1960
2270
|
end
|
1961
2271
|
|
2272
|
+
# Disassociates the specified self-service action association from the
|
2273
|
+
# specified provisioning artifact.
|
2274
|
+
#
|
2275
|
+
# @option params [required, String] :product_id
|
2276
|
+
# The product identifier. For example, `prod-abcdzk7xy33qa`.
|
2277
|
+
#
|
2278
|
+
# @option params [required, String] :provisioning_artifact_id
|
2279
|
+
# The identifier of the provisioning artifact. For example,
|
2280
|
+
# `pa-4abcdjnxjj6ne`.
|
2281
|
+
#
|
2282
|
+
# @option params [required, String] :service_action_id
|
2283
|
+
# The self-service action identifier. For example, `act-fs7abcd89wxyz`.
|
2284
|
+
#
|
2285
|
+
# @option params [String] :accept_language
|
2286
|
+
# The language code.
|
2287
|
+
#
|
2288
|
+
# * `en` - English (default)
|
2289
|
+
#
|
2290
|
+
# * `jp` - Japanese
|
2291
|
+
#
|
2292
|
+
# * `zh` - Chinese
|
2293
|
+
#
|
2294
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2295
|
+
#
|
2296
|
+
# @example Request syntax with placeholder values
|
2297
|
+
#
|
2298
|
+
# resp = client.disassociate_service_action_from_provisioning_artifact({
|
2299
|
+
# product_id: "Id", # required
|
2300
|
+
# provisioning_artifact_id: "Id", # required
|
2301
|
+
# service_action_id: "Id", # required
|
2302
|
+
# accept_language: "AcceptLanguage",
|
2303
|
+
# })
|
2304
|
+
#
|
2305
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateServiceActionFromProvisioningArtifact AWS API Documentation
|
2306
|
+
#
|
2307
|
+
# @overload disassociate_service_action_from_provisioning_artifact(params = {})
|
2308
|
+
# @param [Hash] params ({})
|
2309
|
+
def disassociate_service_action_from_provisioning_artifact(params = {}, options = {})
|
2310
|
+
req = build_request(:disassociate_service_action_from_provisioning_artifact, params)
|
2311
|
+
req.send_request(options)
|
2312
|
+
end
|
2313
|
+
|
1962
2314
|
# Disassociates the specified TagOption from the specified resource.
|
1963
2315
|
#
|
1964
2316
|
# @option params [required, String] :resource_id
|
@@ -2049,6 +2401,71 @@ module Aws::ServiceCatalog
|
|
2049
2401
|
req.send_request(options)
|
2050
2402
|
end
|
2051
2403
|
|
2404
|
+
# Executes a self-service action against a provisioned product.
|
2405
|
+
#
|
2406
|
+
# @option params [required, String] :provisioned_product_id
|
2407
|
+
# The identifier of the provisioned product.
|
2408
|
+
#
|
2409
|
+
# @option params [required, String] :service_action_id
|
2410
|
+
# The self-service action identifier. For example, `act-fs7abcd89wxyz`.
|
2411
|
+
#
|
2412
|
+
# @option params [required, String] :execute_token
|
2413
|
+
# An idempotency token that uniquely identifies the execute request.
|
2414
|
+
#
|
2415
|
+
# **A suitable default value is auto-generated.** You should normally
|
2416
|
+
# not need to pass this option.**
|
2417
|
+
#
|
2418
|
+
# @option params [String] :accept_language
|
2419
|
+
# The language code.
|
2420
|
+
#
|
2421
|
+
# * `en` - English (default)
|
2422
|
+
#
|
2423
|
+
# * `jp` - Japanese
|
2424
|
+
#
|
2425
|
+
# * `zh` - Chinese
|
2426
|
+
#
|
2427
|
+
# @return [Types::ExecuteProvisionedProductServiceActionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2428
|
+
#
|
2429
|
+
# * {Types::ExecuteProvisionedProductServiceActionOutput#record_detail #record_detail} => Types::RecordDetail
|
2430
|
+
#
|
2431
|
+
# @example Request syntax with placeholder values
|
2432
|
+
#
|
2433
|
+
# resp = client.execute_provisioned_product_service_action({
|
2434
|
+
# provisioned_product_id: "Id", # required
|
2435
|
+
# service_action_id: "Id", # required
|
2436
|
+
# execute_token: "IdempotencyToken", # required
|
2437
|
+
# accept_language: "AcceptLanguage",
|
2438
|
+
# })
|
2439
|
+
#
|
2440
|
+
# @example Response structure
|
2441
|
+
#
|
2442
|
+
# resp.record_detail.record_id #=> String
|
2443
|
+
# resp.record_detail.provisioned_product_name #=> String
|
2444
|
+
# resp.record_detail.status #=> String, one of "CREATED", "IN_PROGRESS", "IN_PROGRESS_IN_ERROR", "SUCCEEDED", "FAILED"
|
2445
|
+
# resp.record_detail.created_time #=> Time
|
2446
|
+
# resp.record_detail.updated_time #=> Time
|
2447
|
+
# resp.record_detail.provisioned_product_type #=> String
|
2448
|
+
# resp.record_detail.record_type #=> String
|
2449
|
+
# resp.record_detail.provisioned_product_id #=> String
|
2450
|
+
# resp.record_detail.product_id #=> String
|
2451
|
+
# resp.record_detail.provisioning_artifact_id #=> String
|
2452
|
+
# resp.record_detail.path_id #=> String
|
2453
|
+
# resp.record_detail.record_errors #=> Array
|
2454
|
+
# resp.record_detail.record_errors[0].code #=> String
|
2455
|
+
# resp.record_detail.record_errors[0].description #=> String
|
2456
|
+
# resp.record_detail.record_tags #=> Array
|
2457
|
+
# resp.record_detail.record_tags[0].key #=> String
|
2458
|
+
# resp.record_detail.record_tags[0].value #=> String
|
2459
|
+
#
|
2460
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ExecuteProvisionedProductServiceAction AWS API Documentation
|
2461
|
+
#
|
2462
|
+
# @overload execute_provisioned_product_service_action(params = {})
|
2463
|
+
# @param [Hash] params ({})
|
2464
|
+
def execute_provisioned_product_service_action(params = {}, options = {})
|
2465
|
+
req = build_request(:execute_provisioned_product_service_action, params)
|
2466
|
+
req.send_request(options)
|
2467
|
+
end
|
2468
|
+
|
2052
2469
|
# Lists all portfolios for which sharing was accepted by this account.
|
2053
2470
|
#
|
2054
2471
|
# @option params [String] :accept_language
|
@@ -2533,6 +2950,71 @@ module Aws::ServiceCatalog
|
|
2533
2950
|
req.send_request(options)
|
2534
2951
|
end
|
2535
2952
|
|
2953
|
+
# Lists all provisioning artifacts (also known as versions) for the
|
2954
|
+
# specified self-service action.
|
2955
|
+
#
|
2956
|
+
# @option params [required, String] :service_action_id
|
2957
|
+
# The self-service action identifier. For example, `act-fs7abcd89wxyz`.
|
2958
|
+
#
|
2959
|
+
# @option params [Integer] :page_size
|
2960
|
+
# The maximum number of items to return with this call.
|
2961
|
+
#
|
2962
|
+
# @option params [String] :page_token
|
2963
|
+
# The page token for the next set of results. To retrieve the first set
|
2964
|
+
# of results, use null.
|
2965
|
+
#
|
2966
|
+
# @option params [String] :accept_language
|
2967
|
+
# The language code.
|
2968
|
+
#
|
2969
|
+
# * `en` - English (default)
|
2970
|
+
#
|
2971
|
+
# * `jp` - Japanese
|
2972
|
+
#
|
2973
|
+
# * `zh` - Chinese
|
2974
|
+
#
|
2975
|
+
# @return [Types::ListProvisioningArtifactsForServiceActionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2976
|
+
#
|
2977
|
+
# * {Types::ListProvisioningArtifactsForServiceActionOutput#provisioning_artifact_views #provisioning_artifact_views} => Array<Types::ProvisioningArtifactView>
|
2978
|
+
# * {Types::ListProvisioningArtifactsForServiceActionOutput#next_page_token #next_page_token} => String
|
2979
|
+
#
|
2980
|
+
# @example Request syntax with placeholder values
|
2981
|
+
#
|
2982
|
+
# resp = client.list_provisioning_artifacts_for_service_action({
|
2983
|
+
# service_action_id: "Id", # required
|
2984
|
+
# page_size: 1,
|
2985
|
+
# page_token: "PageToken",
|
2986
|
+
# accept_language: "AcceptLanguage",
|
2987
|
+
# })
|
2988
|
+
#
|
2989
|
+
# @example Response structure
|
2990
|
+
#
|
2991
|
+
# resp.provisioning_artifact_views #=> Array
|
2992
|
+
# resp.provisioning_artifact_views[0].product_view_summary.id #=> String
|
2993
|
+
# resp.provisioning_artifact_views[0].product_view_summary.product_id #=> String
|
2994
|
+
# resp.provisioning_artifact_views[0].product_view_summary.name #=> String
|
2995
|
+
# resp.provisioning_artifact_views[0].product_view_summary.owner #=> String
|
2996
|
+
# resp.provisioning_artifact_views[0].product_view_summary.short_description #=> String
|
2997
|
+
# resp.provisioning_artifact_views[0].product_view_summary.type #=> String, one of "CLOUD_FORMATION_TEMPLATE", "MARKETPLACE"
|
2998
|
+
# resp.provisioning_artifact_views[0].product_view_summary.distributor #=> String
|
2999
|
+
# resp.provisioning_artifact_views[0].product_view_summary.has_default_path #=> Boolean
|
3000
|
+
# resp.provisioning_artifact_views[0].product_view_summary.support_email #=> String
|
3001
|
+
# resp.provisioning_artifact_views[0].product_view_summary.support_description #=> String
|
3002
|
+
# resp.provisioning_artifact_views[0].product_view_summary.support_url #=> String
|
3003
|
+
# resp.provisioning_artifact_views[0].provisioning_artifact.id #=> String
|
3004
|
+
# resp.provisioning_artifact_views[0].provisioning_artifact.name #=> String
|
3005
|
+
# resp.provisioning_artifact_views[0].provisioning_artifact.description #=> String
|
3006
|
+
# resp.provisioning_artifact_views[0].provisioning_artifact.created_time #=> Time
|
3007
|
+
# resp.next_page_token #=> String
|
3008
|
+
#
|
3009
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifactsForServiceAction AWS API Documentation
|
3010
|
+
#
|
3011
|
+
# @overload list_provisioning_artifacts_for_service_action(params = {})
|
3012
|
+
# @param [Hash] params ({})
|
3013
|
+
def list_provisioning_artifacts_for_service_action(params = {}, options = {})
|
3014
|
+
req = build_request(:list_provisioning_artifacts_for_service_action, params)
|
3015
|
+
req.send_request(options)
|
3016
|
+
end
|
3017
|
+
|
2536
3018
|
# Lists the specified requests or all performed requests.
|
2537
3019
|
#
|
2538
3020
|
# @option params [String] :accept_language
|
@@ -2661,6 +3143,114 @@ module Aws::ServiceCatalog
|
|
2661
3143
|
req.send_request(options)
|
2662
3144
|
end
|
2663
3145
|
|
3146
|
+
# Lists all self-service actions.
|
3147
|
+
#
|
3148
|
+
# @option params [String] :accept_language
|
3149
|
+
# The language code.
|
3150
|
+
#
|
3151
|
+
# * `en` - English (default)
|
3152
|
+
#
|
3153
|
+
# * `jp` - Japanese
|
3154
|
+
#
|
3155
|
+
# * `zh` - Chinese
|
3156
|
+
#
|
3157
|
+
# @option params [Integer] :page_size
|
3158
|
+
# The maximum number of items to return with this call.
|
3159
|
+
#
|
3160
|
+
# @option params [String] :page_token
|
3161
|
+
# The page token for the next set of results. To retrieve the first set
|
3162
|
+
# of results, use null.
|
3163
|
+
#
|
3164
|
+
# @return [Types::ListServiceActionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3165
|
+
#
|
3166
|
+
# * {Types::ListServiceActionsOutput#service_action_summaries #service_action_summaries} => Array<Types::ServiceActionSummary>
|
3167
|
+
# * {Types::ListServiceActionsOutput#next_page_token #next_page_token} => String
|
3168
|
+
#
|
3169
|
+
# @example Request syntax with placeholder values
|
3170
|
+
#
|
3171
|
+
# resp = client.list_service_actions({
|
3172
|
+
# accept_language: "AcceptLanguage",
|
3173
|
+
# page_size: 1,
|
3174
|
+
# page_token: "PageToken",
|
3175
|
+
# })
|
3176
|
+
#
|
3177
|
+
# @example Response structure
|
3178
|
+
#
|
3179
|
+
# resp.service_action_summaries #=> Array
|
3180
|
+
# resp.service_action_summaries[0].id #=> String
|
3181
|
+
# resp.service_action_summaries[0].name #=> String
|
3182
|
+
# resp.service_action_summaries[0].description #=> String
|
3183
|
+
# resp.service_action_summaries[0].definition_type #=> String, one of "SSM_AUTOMATION"
|
3184
|
+
# resp.next_page_token #=> String
|
3185
|
+
#
|
3186
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListServiceActions AWS API Documentation
|
3187
|
+
#
|
3188
|
+
# @overload list_service_actions(params = {})
|
3189
|
+
# @param [Hash] params ({})
|
3190
|
+
def list_service_actions(params = {}, options = {})
|
3191
|
+
req = build_request(:list_service_actions, params)
|
3192
|
+
req.send_request(options)
|
3193
|
+
end
|
3194
|
+
|
3195
|
+
# Returns a paginated list of self-service actions associated with the
|
3196
|
+
# specified Product ID and Provisioning Artifact ID.
|
3197
|
+
#
|
3198
|
+
# @option params [required, String] :product_id
|
3199
|
+
# The product identifier. For example, `prod-abcdzk7xy33qa`.
|
3200
|
+
#
|
3201
|
+
# @option params [required, String] :provisioning_artifact_id
|
3202
|
+
# The identifier of the provisioning artifact. For example,
|
3203
|
+
# `pa-4abcdjnxjj6ne`.
|
3204
|
+
#
|
3205
|
+
# @option params [Integer] :page_size
|
3206
|
+
# The maximum number of items to return with this call.
|
3207
|
+
#
|
3208
|
+
# @option params [String] :page_token
|
3209
|
+
# The page token for the next set of results. To retrieve the first set
|
3210
|
+
# of results, use null.
|
3211
|
+
#
|
3212
|
+
# @option params [String] :accept_language
|
3213
|
+
# The language code.
|
3214
|
+
#
|
3215
|
+
# * `en` - English (default)
|
3216
|
+
#
|
3217
|
+
# * `jp` - Japanese
|
3218
|
+
#
|
3219
|
+
# * `zh` - Chinese
|
3220
|
+
#
|
3221
|
+
# @return [Types::ListServiceActionsForProvisioningArtifactOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3222
|
+
#
|
3223
|
+
# * {Types::ListServiceActionsForProvisioningArtifactOutput#service_action_summaries #service_action_summaries} => Array<Types::ServiceActionSummary>
|
3224
|
+
# * {Types::ListServiceActionsForProvisioningArtifactOutput#next_page_token #next_page_token} => String
|
3225
|
+
#
|
3226
|
+
# @example Request syntax with placeholder values
|
3227
|
+
#
|
3228
|
+
# resp = client.list_service_actions_for_provisioning_artifact({
|
3229
|
+
# product_id: "Id", # required
|
3230
|
+
# provisioning_artifact_id: "Id", # required
|
3231
|
+
# page_size: 1,
|
3232
|
+
# page_token: "PageToken",
|
3233
|
+
# accept_language: "AcceptLanguage",
|
3234
|
+
# })
|
3235
|
+
#
|
3236
|
+
# @example Response structure
|
3237
|
+
#
|
3238
|
+
# resp.service_action_summaries #=> Array
|
3239
|
+
# resp.service_action_summaries[0].id #=> String
|
3240
|
+
# resp.service_action_summaries[0].name #=> String
|
3241
|
+
# resp.service_action_summaries[0].description #=> String
|
3242
|
+
# resp.service_action_summaries[0].definition_type #=> String, one of "SSM_AUTOMATION"
|
3243
|
+
# resp.next_page_token #=> String
|
3244
|
+
#
|
3245
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListServiceActionsForProvisioningArtifact AWS API Documentation
|
3246
|
+
#
|
3247
|
+
# @overload list_service_actions_for_provisioning_artifact(params = {})
|
3248
|
+
# @param [Hash] params ({})
|
3249
|
+
def list_service_actions_for_provisioning_artifact(params = {}, options = {})
|
3250
|
+
req = build_request(:list_service_actions_for_provisioning_artifact, params)
|
3251
|
+
req.send_request(options)
|
3252
|
+
end
|
3253
|
+
|
2664
3254
|
# Lists the specified TagOptions or all TagOptions.
|
2665
3255
|
#
|
2666
3256
|
# @option params [Types::ListTagOptionsFilters] :filters
|
@@ -2905,6 +3495,8 @@ module Aws::ServiceCatalog
|
|
2905
3495
|
# resp.provisioned_products[0].created_time #=> Time
|
2906
3496
|
# resp.provisioned_products[0].idempotency_token #=> String
|
2907
3497
|
# resp.provisioned_products[0].last_record_id #=> String
|
3498
|
+
# resp.provisioned_products[0].product_id #=> String
|
3499
|
+
# resp.provisioned_products[0].provisioning_artifact_id #=> String
|
2908
3500
|
# resp.next_page_token #=> String
|
2909
3501
|
#
|
2910
3502
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProducts AWS API Documentation
|
@@ -3635,6 +4227,63 @@ module Aws::ServiceCatalog
|
|
3635
4227
|
req.send_request(options)
|
3636
4228
|
end
|
3637
4229
|
|
4230
|
+
# Updates a self-service action.
|
4231
|
+
#
|
4232
|
+
# @option params [required, String] :id
|
4233
|
+
# The self-service action identifier.
|
4234
|
+
#
|
4235
|
+
# @option params [String] :name
|
4236
|
+
# The self-service action name.
|
4237
|
+
#
|
4238
|
+
# @option params [Hash<String,String>] :definition
|
4239
|
+
# A map that defines the self-service action.
|
4240
|
+
#
|
4241
|
+
# @option params [String] :description
|
4242
|
+
# The self-service action description.
|
4243
|
+
#
|
4244
|
+
# @option params [String] :accept_language
|
4245
|
+
# The language code.
|
4246
|
+
#
|
4247
|
+
# * `en` - English (default)
|
4248
|
+
#
|
4249
|
+
# * `jp` - Japanese
|
4250
|
+
#
|
4251
|
+
# * `zh` - Chinese
|
4252
|
+
#
|
4253
|
+
# @return [Types::UpdateServiceActionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4254
|
+
#
|
4255
|
+
# * {Types::UpdateServiceActionOutput#service_action_detail #service_action_detail} => Types::ServiceActionDetail
|
4256
|
+
#
|
4257
|
+
# @example Request syntax with placeholder values
|
4258
|
+
#
|
4259
|
+
# resp = client.update_service_action({
|
4260
|
+
# id: "Id", # required
|
4261
|
+
# name: "ServiceActionName",
|
4262
|
+
# definition: {
|
4263
|
+
# "Name" => "ServiceActionDefinitionValue",
|
4264
|
+
# },
|
4265
|
+
# description: "ServiceActionDescription",
|
4266
|
+
# accept_language: "AcceptLanguage",
|
4267
|
+
# })
|
4268
|
+
#
|
4269
|
+
# @example Response structure
|
4270
|
+
#
|
4271
|
+
# resp.service_action_detail.service_action_summary.id #=> String
|
4272
|
+
# resp.service_action_detail.service_action_summary.name #=> String
|
4273
|
+
# resp.service_action_detail.service_action_summary.description #=> String
|
4274
|
+
# resp.service_action_detail.service_action_summary.definition_type #=> String, one of "SSM_AUTOMATION"
|
4275
|
+
# resp.service_action_detail.definition #=> Hash
|
4276
|
+
# resp.service_action_detail.definition["ServiceActionDefinitionKey"] #=> String
|
4277
|
+
#
|
4278
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateServiceAction AWS API Documentation
|
4279
|
+
#
|
4280
|
+
# @overload update_service_action(params = {})
|
4281
|
+
# @param [Hash] params ({})
|
4282
|
+
def update_service_action(params = {}, options = {})
|
4283
|
+
req = build_request(:update_service_action, params)
|
4284
|
+
req.send_request(options)
|
4285
|
+
end
|
4286
|
+
|
3638
4287
|
# Updates the specified TagOption.
|
3639
4288
|
#
|
3640
4289
|
# @option params [required, String] :id
|
@@ -3687,7 +4336,7 @@ module Aws::ServiceCatalog
|
|
3687
4336
|
params: params,
|
3688
4337
|
config: config)
|
3689
4338
|
context[:gem_name] = 'aws-sdk-servicecatalog'
|
3690
|
-
context[:gem_version] = '1.
|
4339
|
+
context[:gem_version] = '1.9.0'
|
3691
4340
|
Seahorse::Client::Request.new(handlers, context)
|
3692
4341
|
end
|
3693
4342
|
|