aws-sdk-ssm 1.109.0 → 1.110.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98f3b8be27cd4306b6eb5d5b0770326f09467bfd2fb6a1f09d89489f1994860e
4
- data.tar.gz: de289cbd8ac3d1a01fd5f7ab5da37e28209ea608d1d057f8409bcc243343b088
3
+ metadata.gz: 3d62e2249bfb66ff0a9a0144f2c3fe5c5b19f10f35162d146657574346eb3363
4
+ data.tar.gz: 1e97576cccc7ac67337310061416f9206a66ed48ffafd3a13a6aa2a65068d47d
5
5
  SHA512:
6
- metadata.gz: fb5f748bb58c7e69d6635099fcb71b68dda928ef2af83262fcab9cfa7ad54c3643a00f03a7dbdf401eb187597776ac054cb2e3128c43bfe54abc9b5213c86ec5
7
- data.tar.gz: d9b30e15f9c075970c02af0b4d894daf53532deeac68bfdebc96fd32f14daf2cefdc95143a66b2fb6239db9e8eb08d26f781931be6f159a5b45a10bb651895b0
6
+ metadata.gz: 35f122321bfc79270859e49aa95220c016200230906df6b7b6e16e161889cc5968072265b1c3d7a03f970df4ce6e991b9fc6aa9a0d7bf6187c27bb0e341ebb8f
7
+ data.tar.gz: 991c8078901eb33cc94606be9619c0af12c3f2e04dff66fd1336b2776b03f139cfaa1f0dc0e04fa49413b90bc290cc5053c596cd12a676853a157fd382f8c364
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.110.0 (2021-05-10)
5
+ ------------------
6
+
7
+ * Feature - This release adds new APIs to associate, disassociate and list related items in SSM OpsCenter; and this release adds DisplayName as a version-level attribute for SSM Documents and introduces two new document types: ProblemAnalysis, ProblemAnalysisTemplate.
8
+
4
9
  1.109.0 (2021-05-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.109.0
1
+ 1.110.0
data/lib/aws-sdk-ssm.rb CHANGED
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-ssm/customizations'
49
49
  # @!group service
50
50
  module Aws::SSM
51
51
 
52
- GEM_VERSION = '1.109.0'
52
+ GEM_VERSION = '1.110.0'
53
53
 
54
54
  end
@@ -428,6 +428,59 @@ module Aws::SSM
428
428
  req.send_request(options)
429
429
  end
430
430
 
431
+ # Associates a related resource to a Systems Manager OpsCenter OpsItem.
432
+ # For example, you can associate an Incident Manager incident or
433
+ # analysis with an OpsItem. Incident Manager is a capability of AWS
434
+ # Systems Manager.
435
+ #
436
+ # @option params [required, String] :ops_item_id
437
+ # The ID of the OpsItem to which you want to associate a resource as a
438
+ # related item.
439
+ #
440
+ # @option params [required, String] :association_type
441
+ # The type of association that you want to create between an OpsItem and
442
+ # a resource. OpsCenter supports `IsParentOf` and `RelatesTo`
443
+ # association types.
444
+ #
445
+ # @option params [required, String] :resource_type
446
+ # The type of resource that you want to associate with an OpsItem.
447
+ # OpsCenter supports the following types:
448
+ #
449
+ # `AWS::SSMIncidents::IncidentRecord`\: an Incident Manager incident.
450
+ # Incident Manager is a capability of AWS Systems Manager.
451
+ #
452
+ # `AWS::SSM::Document`\: a Systems Manager (SSM) document.
453
+ #
454
+ # @option params [required, String] :resource_uri
455
+ # The Amazon Resource Name (ARN) of the AWS resource that you want to
456
+ # associate with the OpsItem.
457
+ #
458
+ # @return [Types::AssociateOpsItemRelatedItemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
459
+ #
460
+ # * {Types::AssociateOpsItemRelatedItemResponse#association_id #association_id} => String
461
+ #
462
+ # @example Request syntax with placeholder values
463
+ #
464
+ # resp = client.associate_ops_item_related_item({
465
+ # ops_item_id: "OpsItemId", # required
466
+ # association_type: "OpsItemRelatedItemAssociationType", # required
467
+ # resource_type: "OpsItemRelatedItemAssociationResourceType", # required
468
+ # resource_uri: "OpsItemRelatedItemAssociationResourceUri", # required
469
+ # })
470
+ #
471
+ # @example Response structure
472
+ #
473
+ # resp.association_id #=> String
474
+ #
475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociateOpsItemRelatedItem AWS API Documentation
476
+ #
477
+ # @overload associate_ops_item_related_item(params = {})
478
+ # @param [Hash] params ({})
479
+ def associate_ops_item_related_item(params = {}, options = {})
480
+ req = build_request(:associate_ops_item_related_item, params)
481
+ req.send_request(options)
482
+ end
483
+
431
484
  # Attempts to cancel the command specified by the Command ID. There is
432
485
  # no guarantee that the command will be terminated and the underlying
433
486
  # process stopped.
@@ -1076,6 +1129,12 @@ module Aws::SSM
1076
1129
  #
1077
1130
  # * `amzn`
1078
1131
  #
1132
+ # @option params [String] :display_name
1133
+ # An optional field where you can specify a friendly name for the
1134
+ # Systems Manager document. This value can differ for each version of
1135
+ # the document. You can update this value at a later time using the
1136
+ # UpdateDocument action.
1137
+ #
1079
1138
  # @option params [String] :version_name
1080
1139
  # An optional field specifying the version of the artifact you are
1081
1140
  # creating with the document. For example, "Release 12, Update 6".
@@ -1140,8 +1199,9 @@ module Aws::SSM
1140
1199
  # },
1141
1200
  # ],
1142
1201
  # name: "DocumentName", # required
1202
+ # display_name: "DocumentDisplayName",
1143
1203
  # version_name: "DocumentVersionName",
1144
- # document_type: "Command", # accepts Command, Policy, Automation, Session, Package, ApplicationConfiguration, ApplicationConfigurationSchema, DeploymentStrategy, ChangeCalendar, Automation.ChangeTemplate
1204
+ # document_type: "Command", # accepts Command, Policy, Automation, Session, Package, ApplicationConfiguration, ApplicationConfigurationSchema, DeploymentStrategy, ChangeCalendar, Automation.ChangeTemplate, ProblemAnalysis, ProblemAnalysisTemplate
1145
1205
  # document_format: "YAML", # accepts YAML, JSON, TEXT
1146
1206
  # target_type: "TargetType",
1147
1207
  # tags: [
@@ -1158,6 +1218,7 @@ module Aws::SSM
1158
1218
  # resp.document_description.hash #=> String
1159
1219
  # resp.document_description.hash_type #=> String, one of "Sha256", "Sha1"
1160
1220
  # resp.document_description.name #=> String
1221
+ # resp.document_description.display_name #=> String
1161
1222
  # resp.document_description.version_name #=> String
1162
1223
  # resp.document_description.owner #=> String
1163
1224
  # resp.document_description.created_date #=> Time
@@ -1172,7 +1233,7 @@ module Aws::SSM
1172
1233
  # resp.document_description.parameters[0].default_value #=> String
1173
1234
  # resp.document_description.platform_types #=> Array
1174
1235
  # resp.document_description.platform_types[0] #=> String, one of "Windows", "Linux"
1175
- # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
1236
+ # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate", "ProblemAnalysis", "ProblemAnalysisTemplate"
1176
1237
  # resp.document_description.schema_version #=> String
1177
1238
  # resp.document_description.latest_version #=> String
1178
1239
  # resp.document_description.default_version #=> String
@@ -2746,8 +2807,8 @@ module Aws::SSM
2746
2807
  # next set of results.
2747
2808
  #
2748
2809
  # @option params [Boolean] :reverse_order
2749
- # A boolean that indicates whether to list step executions in reverse
2750
- # order by start time. The default value is 'false'.
2810
+ # Indicates whether to list step executions in reverse order by start
2811
+ # time. The default value is 'false'.
2751
2812
  #
2752
2813
  # @return [Types::DescribeAutomationStepExecutionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2753
2814
  #
@@ -2930,6 +2991,7 @@ module Aws::SSM
2930
2991
  # resp.document.hash #=> String
2931
2992
  # resp.document.hash_type #=> String, one of "Sha256", "Sha1"
2932
2993
  # resp.document.name #=> String
2994
+ # resp.document.display_name #=> String
2933
2995
  # resp.document.version_name #=> String
2934
2996
  # resp.document.owner #=> String
2935
2997
  # resp.document.created_date #=> Time
@@ -2944,7 +3006,7 @@ module Aws::SSM
2944
3006
  # resp.document.parameters[0].default_value #=> String
2945
3007
  # resp.document.platform_types #=> Array
2946
3008
  # resp.document.platform_types[0] #=> String, one of "Windows", "Linux"
2947
- # resp.document.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
3009
+ # resp.document.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate", "ProblemAnalysis", "ProblemAnalysisTemplate"
2948
3010
  # resp.document.schema_version #=> String
2949
3011
  # resp.document.latest_version #=> String
2950
3012
  # resp.document.default_version #=> String
@@ -4675,6 +4737,36 @@ module Aws::SSM
4675
4737
  req.send_request(options)
4676
4738
  end
4677
4739
 
4740
+ # Deletes the association between an OpsItem and a related resource. For
4741
+ # example, this API action can delete an Incident Manager incident from
4742
+ # an OpsItem. Incident Manager is a capability of AWS Systems Manager.
4743
+ #
4744
+ # @option params [required, String] :ops_item_id
4745
+ # The ID of the OpsItem for which you want to delete an association
4746
+ # between the OpsItem and a related resource.
4747
+ #
4748
+ # @option params [required, String] :association_id
4749
+ # The ID of the association for which you want to delete an association
4750
+ # between the OpsItem and a related resource.
4751
+ #
4752
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4753
+ #
4754
+ # @example Request syntax with placeholder values
4755
+ #
4756
+ # resp = client.disassociate_ops_item_related_item({
4757
+ # ops_item_id: "OpsItemId", # required
4758
+ # association_id: "OpsItemRelatedItemAssociationId", # required
4759
+ # })
4760
+ #
4761
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DisassociateOpsItemRelatedItem AWS API Documentation
4762
+ #
4763
+ # @overload disassociate_ops_item_related_item(params = {})
4764
+ # @param [Hash] params ({})
4765
+ def disassociate_ops_item_related_item(params = {}, options = {})
4766
+ req = build_request(:disassociate_ops_item_related_item, params)
4767
+ req.send_request(options)
4768
+ end
4769
+
4678
4770
  # Get detailed information about a particular Automation execution.
4679
4771
  #
4680
4772
  # @option params [required, String] :automation_execution_id
@@ -5148,6 +5240,8 @@ module Aws::SSM
5148
5240
  # @return [Types::GetDocumentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5149
5241
  #
5150
5242
  # * {Types::GetDocumentResult#name #name} => String
5243
+ # * {Types::GetDocumentResult#created_date #created_date} => Time
5244
+ # * {Types::GetDocumentResult#display_name #display_name} => String
5151
5245
  # * {Types::GetDocumentResult#version_name #version_name} => String
5152
5246
  # * {Types::GetDocumentResult#document_version #document_version} => String
5153
5247
  # * {Types::GetDocumentResult#status #status} => String
@@ -5171,12 +5265,14 @@ module Aws::SSM
5171
5265
  # @example Response structure
5172
5266
  #
5173
5267
  # resp.name #=> String
5268
+ # resp.created_date #=> Time
5269
+ # resp.display_name #=> String
5174
5270
  # resp.version_name #=> String
5175
5271
  # resp.document_version #=> String
5176
5272
  # resp.status #=> String, one of "Creating", "Active", "Updating", "Deleting", "Failed"
5177
5273
  # resp.status_information #=> String
5178
5274
  # resp.content #=> String
5179
- # resp.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
5275
+ # resp.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate", "ProblemAnalysis", "ProblemAnalysisTemplate"
5180
5276
  # resp.document_format #=> String, one of "YAML", "JSON", "TEXT"
5181
5277
  # resp.requires #=> Array
5182
5278
  # resp.requires[0].name #=> String
@@ -6949,6 +7045,7 @@ module Aws::SSM
6949
7045
  #
6950
7046
  # resp.document_versions #=> Array
6951
7047
  # resp.document_versions[0].name #=> String
7048
+ # resp.document_versions[0].display_name #=> String
6952
7049
  # resp.document_versions[0].document_version #=> String
6953
7050
  # resp.document_versions[0].version_name #=> String
6954
7051
  # resp.document_versions[0].created_date #=> Time
@@ -7029,12 +7126,14 @@ module Aws::SSM
7029
7126
  #
7030
7127
  # resp.document_identifiers #=> Array
7031
7128
  # resp.document_identifiers[0].name #=> String
7129
+ # resp.document_identifiers[0].created_date #=> Time
7130
+ # resp.document_identifiers[0].display_name #=> String
7032
7131
  # resp.document_identifiers[0].owner #=> String
7033
7132
  # resp.document_identifiers[0].version_name #=> String
7034
7133
  # resp.document_identifiers[0].platform_types #=> Array
7035
7134
  # resp.document_identifiers[0].platform_types[0] #=> String, one of "Windows", "Linux"
7036
7135
  # resp.document_identifiers[0].document_version #=> String
7037
- # resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
7136
+ # resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate", "ProblemAnalysis", "ProblemAnalysisTemplate"
7038
7137
  # resp.document_identifiers[0].schema_version #=> String
7039
7138
  # resp.document_identifiers[0].document_format #=> String, one of "YAML", "JSON", "TEXT"
7040
7139
  # resp.document_identifiers[0].target_type #=> String
@@ -7182,6 +7281,70 @@ module Aws::SSM
7182
7281
  req.send_request(options)
7183
7282
  end
7184
7283
 
7284
+ # Lists all related-item resources associated with an OpsItem.
7285
+ #
7286
+ # @option params [String] :ops_item_id
7287
+ # The ID of the OpsItem for which you want to list all related-item
7288
+ # resources.
7289
+ #
7290
+ # @option params [Array<Types::OpsItemRelatedItemsFilter>] :filters
7291
+ # One or more OpsItem filters. Use a filter to return a more specific
7292
+ # list of results.
7293
+ #
7294
+ # @option params [Integer] :max_results
7295
+ # The maximum number of items to return for this call. The call also
7296
+ # returns a token that you can specify in a subsequent call to get the
7297
+ # next set of results.
7298
+ #
7299
+ # @option params [String] :next_token
7300
+ # The token for the next set of items to return. (You received this
7301
+ # token from a previous call.)
7302
+ #
7303
+ # @return [Types::ListOpsItemRelatedItemsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7304
+ #
7305
+ # * {Types::ListOpsItemRelatedItemsResponse#next_token #next_token} => String
7306
+ # * {Types::ListOpsItemRelatedItemsResponse#summaries #summaries} => Array&lt;Types::OpsItemRelatedItemSummary&gt;
7307
+ #
7308
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7309
+ #
7310
+ # @example Request syntax with placeholder values
7311
+ #
7312
+ # resp = client.list_ops_item_related_items({
7313
+ # ops_item_id: "OpsItemId",
7314
+ # filters: [
7315
+ # {
7316
+ # key: "ResourceType", # required, accepts ResourceType, AssociationId, ResourceUri
7317
+ # values: ["OpsItemRelatedItemsFilterValue"], # required
7318
+ # operator: "Equal", # required, accepts Equal
7319
+ # },
7320
+ # ],
7321
+ # max_results: 1,
7322
+ # next_token: "String",
7323
+ # })
7324
+ #
7325
+ # @example Response structure
7326
+ #
7327
+ # resp.next_token #=> String
7328
+ # resp.summaries #=> Array
7329
+ # resp.summaries[0].ops_item_id #=> String
7330
+ # resp.summaries[0].association_id #=> String
7331
+ # resp.summaries[0].resource_type #=> String
7332
+ # resp.summaries[0].association_type #=> String
7333
+ # resp.summaries[0].resource_uri #=> String
7334
+ # resp.summaries[0].created_by.arn #=> String
7335
+ # resp.summaries[0].created_time #=> Time
7336
+ # resp.summaries[0].last_modified_by.arn #=> String
7337
+ # resp.summaries[0].last_modified_time #=> Time
7338
+ #
7339
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemRelatedItems AWS API Documentation
7340
+ #
7341
+ # @overload list_ops_item_related_items(params = {})
7342
+ # @param [Hash] params ({})
7343
+ def list_ops_item_related_items(params = {}, options = {})
7344
+ req = build_request(:list_ops_item_related_items, params)
7345
+ req.send_request(options)
7346
+ end
7347
+
7185
7348
  # Systems Manager calls this API action when displaying all Application
7186
7349
  # Manager OpsMetadata objects or blobs.
7187
7350
  #
@@ -9571,7 +9734,13 @@ module Aws::SSM
9571
9734
  # of a document.
9572
9735
  #
9573
9736
  # @option params [required, String] :name
9574
- # The name of the document that you want to update.
9737
+ # The name of the Systems Manager document that you want to update.
9738
+ #
9739
+ # @option params [String] :display_name
9740
+ # The friendly name of the Systems Manager document that you want to
9741
+ # update. This value can differ for each version of the document. If you
9742
+ # do not specify a value for this parameter in your request, the
9743
+ # existing value is applied to the new document version.
9575
9744
  #
9576
9745
  # @option params [String] :version_name
9577
9746
  # An optional field specifying the version of the artifact you are
@@ -9608,6 +9777,7 @@ module Aws::SSM
9608
9777
  # },
9609
9778
  # ],
9610
9779
  # name: "DocumentName", # required
9780
+ # display_name: "DocumentDisplayName",
9611
9781
  # version_name: "DocumentVersionName",
9612
9782
  # document_version: "DocumentVersion",
9613
9783
  # document_format: "YAML", # accepts YAML, JSON, TEXT
@@ -9620,6 +9790,7 @@ module Aws::SSM
9620
9790
  # resp.document_description.hash #=> String
9621
9791
  # resp.document_description.hash_type #=> String, one of "Sha256", "Sha1"
9622
9792
  # resp.document_description.name #=> String
9793
+ # resp.document_description.display_name #=> String
9623
9794
  # resp.document_description.version_name #=> String
9624
9795
  # resp.document_description.owner #=> String
9625
9796
  # resp.document_description.created_date #=> Time
@@ -9634,7 +9805,7 @@ module Aws::SSM
9634
9805
  # resp.document_description.parameters[0].default_value #=> String
9635
9806
  # resp.document_description.platform_types #=> Array
9636
9807
  # resp.document_description.platform_types[0] #=> String, one of "Windows", "Linux"
9637
- # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
9808
+ # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate", "ProblemAnalysis", "ProblemAnalysisTemplate"
9638
9809
  # resp.document_description.schema_version #=> String
9639
9810
  # resp.document_description.latest_version #=> String
9640
9811
  # resp.document_description.default_version #=> String
@@ -10848,7 +11019,7 @@ module Aws::SSM
10848
11019
  params: params,
10849
11020
  config: config)
10850
11021
  context[:gem_name] = 'aws-sdk-ssm'
10851
- context[:gem_version] = '1.109.0'
11022
+ context[:gem_version] = '1.110.0'
10852
11023
  Seahorse::Client::Request.new(handlers, context)
10853
11024
  end
10854
11025
 
@@ -32,6 +32,8 @@ module Aws::SSM
32
32
  AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
33
33
  ApplyOnlyAtCronInterval = Shapes::BooleanShape.new(name: 'ApplyOnlyAtCronInterval')
34
34
  ApproveAfterDays = Shapes::IntegerShape.new(name: 'ApproveAfterDays')
35
+ AssociateOpsItemRelatedItemRequest = Shapes::StructureShape.new(name: 'AssociateOpsItemRelatedItemRequest')
36
+ AssociateOpsItemRelatedItemResponse = Shapes::StructureShape.new(name: 'AssociateOpsItemRelatedItemResponse')
35
37
  AssociatedInstances = Shapes::StructureShape.new(name: 'AssociatedInstances')
36
38
  Association = Shapes::StructureShape.new(name: 'Association')
37
39
  AssociationAlreadyExists = Shapes::StructureShape.new(name: 'AssociationAlreadyExists')
@@ -307,12 +309,15 @@ module Aws::SSM
307
309
  DescribeSessionsRequest = Shapes::StructureShape.new(name: 'DescribeSessionsRequest')
308
310
  DescribeSessionsResponse = Shapes::StructureShape.new(name: 'DescribeSessionsResponse')
309
311
  DescriptionInDocument = Shapes::StringShape.new(name: 'DescriptionInDocument')
312
+ DisassociateOpsItemRelatedItemRequest = Shapes::StructureShape.new(name: 'DisassociateOpsItemRelatedItemRequest')
313
+ DisassociateOpsItemRelatedItemResponse = Shapes::StructureShape.new(name: 'DisassociateOpsItemRelatedItemResponse')
310
314
  DocumentARN = Shapes::StringShape.new(name: 'DocumentARN')
311
315
  DocumentAlreadyExists = Shapes::StructureShape.new(name: 'DocumentAlreadyExists')
312
316
  DocumentAuthor = Shapes::StringShape.new(name: 'DocumentAuthor')
313
317
  DocumentContent = Shapes::StringShape.new(name: 'DocumentContent')
314
318
  DocumentDefaultVersionDescription = Shapes::StructureShape.new(name: 'DocumentDefaultVersionDescription')
315
319
  DocumentDescription = Shapes::StructureShape.new(name: 'DocumentDescription')
320
+ DocumentDisplayName = Shapes::StringShape.new(name: 'DocumentDisplayName')
316
321
  DocumentFilter = Shapes::StructureShape.new(name: 'DocumentFilter')
317
322
  DocumentFilterKey = Shapes::StringShape.new(name: 'DocumentFilterKey')
318
323
  DocumentFilterList = Shapes::ListShape.new(name: 'DocumentFilterList')
@@ -600,6 +605,8 @@ module Aws::SSM
600
605
  ListInventoryEntriesResult = Shapes::StructureShape.new(name: 'ListInventoryEntriesResult')
601
606
  ListOpsItemEventsRequest = Shapes::StructureShape.new(name: 'ListOpsItemEventsRequest')
602
607
  ListOpsItemEventsResponse = Shapes::StructureShape.new(name: 'ListOpsItemEventsResponse')
608
+ ListOpsItemRelatedItemsRequest = Shapes::StructureShape.new(name: 'ListOpsItemRelatedItemsRequest')
609
+ ListOpsItemRelatedItemsResponse = Shapes::StructureShape.new(name: 'ListOpsItemRelatedItemsResponse')
603
610
  ListOpsMetadataMaxResults = Shapes::IntegerShape.new(name: 'ListOpsMetadataMaxResults')
604
611
  ListOpsMetadataRequest = Shapes::StructureShape.new(name: 'ListOpsMetadataRequest')
605
612
  ListOpsMetadataResult = Shapes::StructureShape.new(name: 'ListOpsMetadataResult')
@@ -754,6 +761,21 @@ module Aws::SSM
754
761
  OpsItemOpsDataKeysList = Shapes::ListShape.new(name: 'OpsItemOpsDataKeysList')
755
762
  OpsItemParameterNamesList = Shapes::ListShape.new(name: 'OpsItemParameterNamesList')
756
763
  OpsItemPriority = Shapes::IntegerShape.new(name: 'OpsItemPriority')
764
+ OpsItemRelatedItemAlreadyExistsException = Shapes::StructureShape.new(name: 'OpsItemRelatedItemAlreadyExistsException')
765
+ OpsItemRelatedItemAssociationId = Shapes::StringShape.new(name: 'OpsItemRelatedItemAssociationId')
766
+ OpsItemRelatedItemAssociationNotFoundException = Shapes::StructureShape.new(name: 'OpsItemRelatedItemAssociationNotFoundException')
767
+ OpsItemRelatedItemAssociationResourceType = Shapes::StringShape.new(name: 'OpsItemRelatedItemAssociationResourceType')
768
+ OpsItemRelatedItemAssociationResourceUri = Shapes::StringShape.new(name: 'OpsItemRelatedItemAssociationResourceUri')
769
+ OpsItemRelatedItemAssociationType = Shapes::StringShape.new(name: 'OpsItemRelatedItemAssociationType')
770
+ OpsItemRelatedItemSummaries = Shapes::ListShape.new(name: 'OpsItemRelatedItemSummaries')
771
+ OpsItemRelatedItemSummary = Shapes::StructureShape.new(name: 'OpsItemRelatedItemSummary')
772
+ OpsItemRelatedItemsFilter = Shapes::StructureShape.new(name: 'OpsItemRelatedItemsFilter')
773
+ OpsItemRelatedItemsFilterKey = Shapes::StringShape.new(name: 'OpsItemRelatedItemsFilterKey')
774
+ OpsItemRelatedItemsFilterOperator = Shapes::StringShape.new(name: 'OpsItemRelatedItemsFilterOperator')
775
+ OpsItemRelatedItemsFilterValue = Shapes::StringShape.new(name: 'OpsItemRelatedItemsFilterValue')
776
+ OpsItemRelatedItemsFilterValues = Shapes::ListShape.new(name: 'OpsItemRelatedItemsFilterValues')
777
+ OpsItemRelatedItemsFilters = Shapes::ListShape.new(name: 'OpsItemRelatedItemsFilters')
778
+ OpsItemRelatedItemsMaxResults = Shapes::IntegerShape.new(name: 'OpsItemRelatedItemsMaxResults')
757
779
  OpsItemSeverity = Shapes::StringShape.new(name: 'OpsItemSeverity')
758
780
  OpsItemSource = Shapes::StringShape.new(name: 'OpsItemSource')
759
781
  OpsItemStatus = Shapes::StringShape.new(name: 'OpsItemStatus')
@@ -1170,6 +1192,15 @@ module Aws::SSM
1170
1192
  AlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1171
1193
  AlreadyExistsException.struct_class = Types::AlreadyExistsException
1172
1194
 
1195
+ AssociateOpsItemRelatedItemRequest.add_member(:ops_item_id, Shapes::ShapeRef.new(shape: OpsItemId, required: true, location_name: "OpsItemId"))
1196
+ AssociateOpsItemRelatedItemRequest.add_member(:association_type, Shapes::ShapeRef.new(shape: OpsItemRelatedItemAssociationType, required: true, location_name: "AssociationType"))
1197
+ AssociateOpsItemRelatedItemRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: OpsItemRelatedItemAssociationResourceType, required: true, location_name: "ResourceType"))
1198
+ AssociateOpsItemRelatedItemRequest.add_member(:resource_uri, Shapes::ShapeRef.new(shape: OpsItemRelatedItemAssociationResourceUri, required: true, location_name: "ResourceUri"))
1199
+ AssociateOpsItemRelatedItemRequest.struct_class = Types::AssociateOpsItemRelatedItemRequest
1200
+
1201
+ AssociateOpsItemRelatedItemResponse.add_member(:association_id, Shapes::ShapeRef.new(shape: OpsItemRelatedItemAssociationId, location_name: "AssociationId"))
1202
+ AssociateOpsItemRelatedItemResponse.struct_class = Types::AssociateOpsItemRelatedItemResponse
1203
+
1173
1204
  AssociatedInstances.struct_class = Types::AssociatedInstances
1174
1205
 
1175
1206
  Association.add_member(:name, Shapes::ShapeRef.new(shape: DocumentARN, location_name: "Name"))
@@ -1647,6 +1678,7 @@ module Aws::SSM
1647
1678
  CreateDocumentRequest.add_member(:requires, Shapes::ShapeRef.new(shape: DocumentRequiresList, location_name: "Requires"))
1648
1679
  CreateDocumentRequest.add_member(:attachments, Shapes::ShapeRef.new(shape: AttachmentsSourceList, location_name: "Attachments"))
1649
1680
  CreateDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, required: true, location_name: "Name"))
1681
+ CreateDocumentRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DocumentDisplayName, location_name: "DisplayName"))
1650
1682
  CreateDocumentRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "VersionName"))
1651
1683
  CreateDocumentRequest.add_member(:document_type, Shapes::ShapeRef.new(shape: DocumentType, location_name: "DocumentType"))
1652
1684
  CreateDocumentRequest.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
@@ -2152,6 +2184,12 @@ module Aws::SSM
2152
2184
  DescribeSessionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
2153
2185
  DescribeSessionsResponse.struct_class = Types::DescribeSessionsResponse
2154
2186
 
2187
+ DisassociateOpsItemRelatedItemRequest.add_member(:ops_item_id, Shapes::ShapeRef.new(shape: OpsItemId, required: true, location_name: "OpsItemId"))
2188
+ DisassociateOpsItemRelatedItemRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: OpsItemRelatedItemAssociationId, required: true, location_name: "AssociationId"))
2189
+ DisassociateOpsItemRelatedItemRequest.struct_class = Types::DisassociateOpsItemRelatedItemRequest
2190
+
2191
+ DisassociateOpsItemRelatedItemResponse.struct_class = Types::DisassociateOpsItemRelatedItemResponse
2192
+
2155
2193
  DocumentAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
2156
2194
  DocumentAlreadyExists.struct_class = Types::DocumentAlreadyExists
2157
2195
 
@@ -2164,6 +2202,7 @@ module Aws::SSM
2164
2202
  DocumentDescription.add_member(:hash, Shapes::ShapeRef.new(shape: DocumentHash, location_name: "Hash"))
2165
2203
  DocumentDescription.add_member(:hash_type, Shapes::ShapeRef.new(shape: DocumentHashType, location_name: "HashType"))
2166
2204
  DocumentDescription.add_member(:name, Shapes::ShapeRef.new(shape: DocumentARN, location_name: "Name"))
2205
+ DocumentDescription.add_member(:display_name, Shapes::ShapeRef.new(shape: DocumentDisplayName, location_name: "DisplayName"))
2167
2206
  DocumentDescription.add_member(:version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "VersionName"))
2168
2207
  DocumentDescription.add_member(:owner, Shapes::ShapeRef.new(shape: DocumentOwner, location_name: "Owner"))
2169
2208
  DocumentDescription.add_member(:created_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedDate"))
@@ -2196,6 +2235,8 @@ module Aws::SSM
2196
2235
  DocumentFilterList.member = Shapes::ShapeRef.new(shape: DocumentFilter)
2197
2236
 
2198
2237
  DocumentIdentifier.add_member(:name, Shapes::ShapeRef.new(shape: DocumentARN, location_name: "Name"))
2238
+ DocumentIdentifier.add_member(:created_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedDate"))
2239
+ DocumentIdentifier.add_member(:display_name, Shapes::ShapeRef.new(shape: DocumentDisplayName, location_name: "DisplayName"))
2199
2240
  DocumentIdentifier.add_member(:owner, Shapes::ShapeRef.new(shape: DocumentOwner, location_name: "Owner"))
2200
2241
  DocumentIdentifier.add_member(:version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "VersionName"))
2201
2242
  DocumentIdentifier.add_member(:platform_types, Shapes::ShapeRef.new(shape: PlatformTypeList, location_name: "PlatformTypes"))
@@ -2263,6 +2304,7 @@ module Aws::SSM
2263
2304
  DocumentReviews.struct_class = Types::DocumentReviews
2264
2305
 
2265
2306
  DocumentVersionInfo.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "Name"))
2307
+ DocumentVersionInfo.add_member(:display_name, Shapes::ShapeRef.new(shape: DocumentDisplayName, location_name: "DisplayName"))
2266
2308
  DocumentVersionInfo.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
2267
2309
  DocumentVersionInfo.add_member(:version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "VersionName"))
2268
2310
  DocumentVersionInfo.add_member(:created_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedDate"))
@@ -2381,6 +2423,8 @@ module Aws::SSM
2381
2423
  GetDocumentRequest.struct_class = Types::GetDocumentRequest
2382
2424
 
2383
2425
  GetDocumentResult.add_member(:name, Shapes::ShapeRef.new(shape: DocumentARN, location_name: "Name"))
2426
+ GetDocumentResult.add_member(:created_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedDate"))
2427
+ GetDocumentResult.add_member(:display_name, Shapes::ShapeRef.new(shape: DocumentDisplayName, location_name: "DisplayName"))
2384
2428
  GetDocumentResult.add_member(:version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "VersionName"))
2385
2429
  GetDocumentResult.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
2386
2430
  GetDocumentResult.add_member(:status, Shapes::ShapeRef.new(shape: DocumentStatus, location_name: "Status"))
@@ -3099,6 +3143,16 @@ module Aws::SSM
3099
3143
  ListOpsItemEventsResponse.add_member(:summaries, Shapes::ShapeRef.new(shape: OpsItemEventSummaries, location_name: "Summaries"))
3100
3144
  ListOpsItemEventsResponse.struct_class = Types::ListOpsItemEventsResponse
3101
3145
 
3146
+ ListOpsItemRelatedItemsRequest.add_member(:ops_item_id, Shapes::ShapeRef.new(shape: OpsItemId, location_name: "OpsItemId"))
3147
+ ListOpsItemRelatedItemsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: OpsItemRelatedItemsFilters, location_name: "Filters"))
3148
+ ListOpsItemRelatedItemsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: OpsItemRelatedItemsMaxResults, location_name: "MaxResults"))
3149
+ ListOpsItemRelatedItemsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
3150
+ ListOpsItemRelatedItemsRequest.struct_class = Types::ListOpsItemRelatedItemsRequest
3151
+
3152
+ ListOpsItemRelatedItemsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
3153
+ ListOpsItemRelatedItemsResponse.add_member(:summaries, Shapes::ShapeRef.new(shape: OpsItemRelatedItemSummaries, location_name: "Summaries"))
3154
+ ListOpsItemRelatedItemsResponse.struct_class = Types::ListOpsItemRelatedItemsResponse
3155
+
3102
3156
  ListOpsMetadataRequest.add_member(:filters, Shapes::ShapeRef.new(shape: OpsMetadataFilterList, location_name: "Filters"))
3103
3157
  ListOpsMetadataRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListOpsMetadataMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
3104
3158
  ListOpsMetadataRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -3440,6 +3494,36 @@ module Aws::SSM
3440
3494
 
3441
3495
  OpsItemParameterNamesList.member = Shapes::ShapeRef.new(shape: String)
3442
3496
 
3497
+ OpsItemRelatedItemAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
3498
+ OpsItemRelatedItemAlreadyExistsException.add_member(:resource_uri, Shapes::ShapeRef.new(shape: OpsItemRelatedItemAssociationResourceUri, location_name: "ResourceUri"))
3499
+ OpsItemRelatedItemAlreadyExistsException.add_member(:ops_item_id, Shapes::ShapeRef.new(shape: OpsItemId, location_name: "OpsItemId"))
3500
+ OpsItemRelatedItemAlreadyExistsException.struct_class = Types::OpsItemRelatedItemAlreadyExistsException
3501
+
3502
+ OpsItemRelatedItemAssociationNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
3503
+ OpsItemRelatedItemAssociationNotFoundException.struct_class = Types::OpsItemRelatedItemAssociationNotFoundException
3504
+
3505
+ OpsItemRelatedItemSummaries.member = Shapes::ShapeRef.new(shape: OpsItemRelatedItemSummary)
3506
+
3507
+ OpsItemRelatedItemSummary.add_member(:ops_item_id, Shapes::ShapeRef.new(shape: OpsItemId, location_name: "OpsItemId"))
3508
+ OpsItemRelatedItemSummary.add_member(:association_id, Shapes::ShapeRef.new(shape: OpsItemRelatedItemAssociationId, location_name: "AssociationId"))
3509
+ OpsItemRelatedItemSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: OpsItemRelatedItemAssociationResourceType, location_name: "ResourceType"))
3510
+ OpsItemRelatedItemSummary.add_member(:association_type, Shapes::ShapeRef.new(shape: OpsItemRelatedItemAssociationType, location_name: "AssociationType"))
3511
+ OpsItemRelatedItemSummary.add_member(:resource_uri, Shapes::ShapeRef.new(shape: OpsItemRelatedItemAssociationResourceUri, location_name: "ResourceUri"))
3512
+ OpsItemRelatedItemSummary.add_member(:created_by, Shapes::ShapeRef.new(shape: OpsItemIdentity, location_name: "CreatedBy"))
3513
+ OpsItemRelatedItemSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedTime"))
3514
+ OpsItemRelatedItemSummary.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: OpsItemIdentity, location_name: "LastModifiedBy"))
3515
+ OpsItemRelatedItemSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedTime"))
3516
+ OpsItemRelatedItemSummary.struct_class = Types::OpsItemRelatedItemSummary
3517
+
3518
+ OpsItemRelatedItemsFilter.add_member(:key, Shapes::ShapeRef.new(shape: OpsItemRelatedItemsFilterKey, required: true, location_name: "Key"))
3519
+ OpsItemRelatedItemsFilter.add_member(:values, Shapes::ShapeRef.new(shape: OpsItemRelatedItemsFilterValues, required: true, location_name: "Values"))
3520
+ OpsItemRelatedItemsFilter.add_member(:operator, Shapes::ShapeRef.new(shape: OpsItemRelatedItemsFilterOperator, required: true, location_name: "Operator"))
3521
+ OpsItemRelatedItemsFilter.struct_class = Types::OpsItemRelatedItemsFilter
3522
+
3523
+ OpsItemRelatedItemsFilterValues.member = Shapes::ShapeRef.new(shape: OpsItemRelatedItemsFilterValue)
3524
+
3525
+ OpsItemRelatedItemsFilters.member = Shapes::ShapeRef.new(shape: OpsItemRelatedItemsFilter)
3526
+
3443
3527
  OpsItemSummaries.member = Shapes::ShapeRef.new(shape: OpsItemSummary)
3444
3528
 
3445
3529
  OpsItemSummary.add_member(:created_by, Shapes::ShapeRef.new(shape: String, location_name: "CreatedBy"))
@@ -4266,6 +4350,7 @@ module Aws::SSM
4266
4350
  UpdateDocumentRequest.add_member(:content, Shapes::ShapeRef.new(shape: DocumentContent, required: true, location_name: "Content"))
4267
4351
  UpdateDocumentRequest.add_member(:attachments, Shapes::ShapeRef.new(shape: AttachmentsSourceList, location_name: "Attachments"))
4268
4352
  UpdateDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, required: true, location_name: "Name"))
4353
+ UpdateDocumentRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DocumentDisplayName, location_name: "DisplayName"))
4269
4354
  UpdateDocumentRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "VersionName"))
4270
4355
  UpdateDocumentRequest.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
4271
4356
  UpdateDocumentRequest.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
@@ -4462,6 +4547,19 @@ module Aws::SSM
4462
4547
  o.errors << Shapes::ShapeRef.new(shape: TooManyUpdates)
4463
4548
  end)
4464
4549
 
4550
+ api.add_operation(:associate_ops_item_related_item, Seahorse::Model::Operation.new.tap do |o|
4551
+ o.name = "AssociateOpsItemRelatedItem"
4552
+ o.http_method = "POST"
4553
+ o.http_request_uri = "/"
4554
+ o.input = Shapes::ShapeRef.new(shape: AssociateOpsItemRelatedItemRequest)
4555
+ o.output = Shapes::ShapeRef.new(shape: AssociateOpsItemRelatedItemResponse)
4556
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
4557
+ o.errors << Shapes::ShapeRef.new(shape: OpsItemNotFoundException)
4558
+ o.errors << Shapes::ShapeRef.new(shape: OpsItemLimitExceededException)
4559
+ o.errors << Shapes::ShapeRef.new(shape: OpsItemInvalidParameterException)
4560
+ o.errors << Shapes::ShapeRef.new(shape: OpsItemRelatedItemAlreadyExistsException)
4561
+ end)
4562
+
4465
4563
  api.add_operation(:cancel_command, Seahorse::Model::Operation.new.tap do |o|
4466
4564
  o.name = "CancelCommand"
4467
4565
  o.http_method = "POST"
@@ -5266,6 +5364,18 @@ module Aws::SSM
5266
5364
  )
5267
5365
  end)
5268
5366
 
5367
+ api.add_operation(:disassociate_ops_item_related_item, Seahorse::Model::Operation.new.tap do |o|
5368
+ o.name = "DisassociateOpsItemRelatedItem"
5369
+ o.http_method = "POST"
5370
+ o.http_request_uri = "/"
5371
+ o.input = Shapes::ShapeRef.new(shape: DisassociateOpsItemRelatedItemRequest)
5372
+ o.output = Shapes::ShapeRef.new(shape: DisassociateOpsItemRelatedItemResponse)
5373
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
5374
+ o.errors << Shapes::ShapeRef.new(shape: OpsItemRelatedItemAssociationNotFoundException)
5375
+ o.errors << Shapes::ShapeRef.new(shape: OpsItemNotFoundException)
5376
+ o.errors << Shapes::ShapeRef.new(shape: OpsItemInvalidParameterException)
5377
+ end)
5378
+
5269
5379
  api.add_operation(:get_automation_execution, Seahorse::Model::Operation.new.tap do |o|
5270
5380
  o.name = "GetAutomationExecution"
5271
5381
  o.http_method = "POST"
@@ -5757,6 +5867,22 @@ module Aws::SSM
5757
5867
  )
5758
5868
  end)
5759
5869
 
5870
+ api.add_operation(:list_ops_item_related_items, Seahorse::Model::Operation.new.tap do |o|
5871
+ o.name = "ListOpsItemRelatedItems"
5872
+ o.http_method = "POST"
5873
+ o.http_request_uri = "/"
5874
+ o.input = Shapes::ShapeRef.new(shape: ListOpsItemRelatedItemsRequest)
5875
+ o.output = Shapes::ShapeRef.new(shape: ListOpsItemRelatedItemsResponse)
5876
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
5877
+ o.errors << Shapes::ShapeRef.new(shape: OpsItemInvalidParameterException)
5878
+ o[:pager] = Aws::Pager.new(
5879
+ limit_key: "max_results",
5880
+ tokens: {
5881
+ "next_token" => "next_token"
5882
+ }
5883
+ )
5884
+ end)
5885
+
5760
5886
  api.add_operation(:list_ops_metadata, Seahorse::Model::Operation.new.tap do |o|
5761
5887
  o.name = "ListOpsMetadata"
5762
5888
  o.http_method = "POST"
@@ -111,6 +111,8 @@ module Aws::SSM
111
111
  # * {OpsItemInvalidParameterException}
112
112
  # * {OpsItemLimitExceededException}
113
113
  # * {OpsItemNotFoundException}
114
+ # * {OpsItemRelatedItemAlreadyExistsException}
115
+ # * {OpsItemRelatedItemAssociationNotFoundException}
114
116
  # * {OpsMetadataAlreadyExistsException}
115
117
  # * {OpsMetadataInvalidArgumentException}
116
118
  # * {OpsMetadataKeyLimitExceededException}
@@ -1394,6 +1396,46 @@ module Aws::SSM
1394
1396
  end
1395
1397
  end
1396
1398
 
1399
+ class OpsItemRelatedItemAlreadyExistsException < ServiceError
1400
+
1401
+ # @param [Seahorse::Client::RequestContext] context
1402
+ # @param [String] message
1403
+ # @param [Aws::SSM::Types::OpsItemRelatedItemAlreadyExistsException] data
1404
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1405
+ super(context, message, data)
1406
+ end
1407
+
1408
+ # @return [String]
1409
+ def message
1410
+ @message || @data[:message]
1411
+ end
1412
+
1413
+ # @return [String]
1414
+ def resource_uri
1415
+ @data[:resource_uri]
1416
+ end
1417
+
1418
+ # @return [String]
1419
+ def ops_item_id
1420
+ @data[:ops_item_id]
1421
+ end
1422
+ end
1423
+
1424
+ class OpsItemRelatedItemAssociationNotFoundException < ServiceError
1425
+
1426
+ # @param [Seahorse::Client::RequestContext] context
1427
+ # @param [String] message
1428
+ # @param [Aws::SSM::Types::OpsItemRelatedItemAssociationNotFoundException] data
1429
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1430
+ super(context, message, data)
1431
+ end
1432
+
1433
+ # @return [String]
1434
+ def message
1435
+ @message || @data[:message]
1436
+ end
1437
+ end
1438
+
1397
1439
  class OpsMetadataAlreadyExistsException < ServiceError
1398
1440
 
1399
1441
  # @param [Seahorse::Client::RequestContext] context
@@ -186,6 +186,65 @@ module Aws::SSM
186
186
  include Aws::Structure
187
187
  end
188
188
 
189
+ # @note When making an API call, you may pass AssociateOpsItemRelatedItemRequest
190
+ # data as a hash:
191
+ #
192
+ # {
193
+ # ops_item_id: "OpsItemId", # required
194
+ # association_type: "OpsItemRelatedItemAssociationType", # required
195
+ # resource_type: "OpsItemRelatedItemAssociationResourceType", # required
196
+ # resource_uri: "OpsItemRelatedItemAssociationResourceUri", # required
197
+ # }
198
+ #
199
+ # @!attribute [rw] ops_item_id
200
+ # The ID of the OpsItem to which you want to associate a resource as a
201
+ # related item.
202
+ # @return [String]
203
+ #
204
+ # @!attribute [rw] association_type
205
+ # The type of association that you want to create between an OpsItem
206
+ # and a resource. OpsCenter supports `IsParentOf` and `RelatesTo`
207
+ # association types.
208
+ # @return [String]
209
+ #
210
+ # @!attribute [rw] resource_type
211
+ # The type of resource that you want to associate with an OpsItem.
212
+ # OpsCenter supports the following types:
213
+ #
214
+ # `AWS::SSMIncidents::IncidentRecord`\: an Incident Manager incident.
215
+ # Incident Manager is a capability of AWS Systems Manager.
216
+ #
217
+ # `AWS::SSM::Document`\: a Systems Manager (SSM) document.
218
+ # @return [String]
219
+ #
220
+ # @!attribute [rw] resource_uri
221
+ # The Amazon Resource Name (ARN) of the AWS resource that you want to
222
+ # associate with the OpsItem.
223
+ # @return [String]
224
+ #
225
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociateOpsItemRelatedItemRequest AWS API Documentation
226
+ #
227
+ class AssociateOpsItemRelatedItemRequest < Struct.new(
228
+ :ops_item_id,
229
+ :association_type,
230
+ :resource_type,
231
+ :resource_uri)
232
+ SENSITIVE = []
233
+ include Aws::Structure
234
+ end
235
+
236
+ # @!attribute [rw] association_id
237
+ # The association ID.
238
+ # @return [String]
239
+ #
240
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociateOpsItemRelatedItemResponse AWS API Documentation
241
+ #
242
+ class AssociateOpsItemRelatedItemResponse < Struct.new(
243
+ :association_id)
244
+ SENSITIVE = []
245
+ include Aws::Structure
246
+ end
247
+
189
248
  # You must disassociate a document from all instances before you can
190
249
  # delete it.
191
250
  #
@@ -3194,8 +3253,9 @@ module Aws::SSM
3194
3253
  # },
3195
3254
  # ],
3196
3255
  # name: "DocumentName", # required
3256
+ # display_name: "DocumentDisplayName",
3197
3257
  # version_name: "DocumentVersionName",
3198
- # document_type: "Command", # accepts Command, Policy, Automation, Session, Package, ApplicationConfiguration, ApplicationConfigurationSchema, DeploymentStrategy, ChangeCalendar, Automation.ChangeTemplate
3258
+ # document_type: "Command", # accepts Command, Policy, Automation, Session, Package, ApplicationConfiguration, ApplicationConfigurationSchema, DeploymentStrategy, ChangeCalendar, Automation.ChangeTemplate, ProblemAnalysis, ProblemAnalysisTemplate
3199
3259
  # document_format: "YAML", # accepts YAML, JSON, TEXT
3200
3260
  # target_type: "TargetType",
3201
3261
  # tags: [
@@ -3259,6 +3319,13 @@ module Aws::SSM
3259
3319
  # * `amzn`
3260
3320
  # @return [String]
3261
3321
  #
3322
+ # @!attribute [rw] display_name
3323
+ # An optional field where you can specify a friendly name for the
3324
+ # Systems Manager document. This value can differ for each version of
3325
+ # the document. You can update this value at a later time using the
3326
+ # UpdateDocument action.
3327
+ # @return [String]
3328
+ #
3262
3329
  # @!attribute [rw] version_name
3263
3330
  # An optional field specifying the version of the artifact you are
3264
3331
  # creating with the document. For example, "Release 12, Update 6".
@@ -3314,6 +3381,7 @@ module Aws::SSM
3314
3381
  :requires,
3315
3382
  :attachments,
3316
3383
  :name,
3384
+ :display_name,
3317
3385
  :version_name,
3318
3386
  :document_type,
3319
3387
  :document_format,
@@ -4931,8 +4999,8 @@ module Aws::SSM
4931
4999
  # @return [Integer]
4932
5000
  #
4933
5001
  # @!attribute [rw] reverse_order
4934
- # A boolean that indicates whether to list step executions in reverse
4935
- # order by start time. The default value is 'false'.
5002
+ # Indicates whether to list step executions in reverse order by start
5003
+ # time. The default value is 'false'.
4936
5004
  # @return [Boolean]
4937
5005
  #
4938
5006
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutionsRequest AWS API Documentation
@@ -6731,6 +6799,37 @@ module Aws::SSM
6731
6799
  include Aws::Structure
6732
6800
  end
6733
6801
 
6802
+ # @note When making an API call, you may pass DisassociateOpsItemRelatedItemRequest
6803
+ # data as a hash:
6804
+ #
6805
+ # {
6806
+ # ops_item_id: "OpsItemId", # required
6807
+ # association_id: "OpsItemRelatedItemAssociationId", # required
6808
+ # }
6809
+ #
6810
+ # @!attribute [rw] ops_item_id
6811
+ # The ID of the OpsItem for which you want to delete an association
6812
+ # between the OpsItem and a related resource.
6813
+ # @return [String]
6814
+ #
6815
+ # @!attribute [rw] association_id
6816
+ # The ID of the association for which you want to delete an
6817
+ # association between the OpsItem and a related resource.
6818
+ # @return [String]
6819
+ #
6820
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DisassociateOpsItemRelatedItemRequest AWS API Documentation
6821
+ #
6822
+ class DisassociateOpsItemRelatedItemRequest < Struct.new(
6823
+ :ops_item_id,
6824
+ :association_id)
6825
+ SENSITIVE = []
6826
+ include Aws::Structure
6827
+ end
6828
+
6829
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DisassociateOpsItemRelatedItemResponse AWS API Documentation
6830
+ #
6831
+ class DisassociateOpsItemRelatedItemResponse < Aws::EmptyStructure; end
6832
+
6734
6833
  # The specified document already exists.
6735
6834
  #
6736
6835
  # @!attribute [rw] message
@@ -6796,6 +6895,12 @@ module Aws::SSM
6796
6895
  # The name of the Systems Manager document.
6797
6896
  # @return [String]
6798
6897
  #
6898
+ # @!attribute [rw] display_name
6899
+ # The friendly name of the Systems Manager document. This value can
6900
+ # differ for each version of the document. If you want to update this
6901
+ # value, see UpdateDocument.
6902
+ # @return [String]
6903
+ #
6799
6904
  # @!attribute [rw] version_name
6800
6905
  # The version of the artifact associated with the document.
6801
6906
  # @return [String]
@@ -6910,6 +7015,7 @@ module Aws::SSM
6910
7015
  :hash,
6911
7016
  :hash_type,
6912
7017
  :name,
7018
+ :display_name,
6913
7019
  :version_name,
6914
7020
  :owner,
6915
7021
  :created_date,
@@ -6970,6 +7076,16 @@ module Aws::SSM
6970
7076
  # The name of the Systems Manager document.
6971
7077
  # @return [String]
6972
7078
  #
7079
+ # @!attribute [rw] created_date
7080
+ # The date the Systems Manager document was created.
7081
+ # @return [Time]
7082
+ #
7083
+ # @!attribute [rw] display_name
7084
+ # An optional field where you can specify a friendly name for the
7085
+ # Systems Manager document. This value can differ for each version of
7086
+ # the document. If you want to update this value, see UpdateDocument.
7087
+ # @return [String]
7088
+ #
6973
7089
  # @!attribute [rw] owner
6974
7090
  # The AWS user account that created the document.
6975
7091
  # @return [String]
@@ -7033,6 +7149,8 @@ module Aws::SSM
7033
7149
  #
7034
7150
  class DocumentIdentifier < Struct.new(
7035
7151
  :name,
7152
+ :created_date,
7153
+ :display_name,
7036
7154
  :owner,
7037
7155
  :version_name,
7038
7156
  :platform_types,
@@ -7370,6 +7488,12 @@ module Aws::SSM
7370
7488
  # The document name.
7371
7489
  # @return [String]
7372
7490
  #
7491
+ # @!attribute [rw] display_name
7492
+ # The friendly name of the Systems Manager document. This value can
7493
+ # differ for each version of the document. If you want to update this
7494
+ # value, see UpdateDocument.
7495
+ # @return [String]
7496
+ #
7373
7497
  # @!attribute [rw] document_version
7374
7498
  # The document version.
7375
7499
  # @return [String]
@@ -7413,6 +7537,7 @@ module Aws::SSM
7413
7537
  #
7414
7538
  class DocumentVersionInfo < Struct.new(
7415
7539
  :name,
7540
+ :display_name,
7416
7541
  :document_version,
7417
7542
  :version_name,
7418
7543
  :created_date,
@@ -8135,6 +8260,16 @@ module Aws::SSM
8135
8260
  # The name of the Systems Manager document.
8136
8261
  # @return [String]
8137
8262
  #
8263
+ # @!attribute [rw] created_date
8264
+ # The date the Systems Manager document was created.
8265
+ # @return [Time]
8266
+ #
8267
+ # @!attribute [rw] display_name
8268
+ # The friendly name of the Systems Manager document. This value can
8269
+ # differ for each version of the document. If you want to update this
8270
+ # value, see UpdateDocument.
8271
+ # @return [String]
8272
+ #
8138
8273
  # @!attribute [rw] version_name
8139
8274
  # The version of the artifact associated with the document. For
8140
8275
  # example, "Release 12, Update 6". This value is unique across all
@@ -8197,6 +8332,8 @@ module Aws::SSM
8197
8332
  #
8198
8333
  class GetDocumentResult < Struct.new(
8199
8334
  :name,
8335
+ :created_date,
8336
+ :display_name,
8200
8337
  :version_name,
8201
8338
  :document_version,
8202
8339
  :status,
@@ -12166,6 +12303,72 @@ module Aws::SSM
12166
12303
  include Aws::Structure
12167
12304
  end
12168
12305
 
12306
+ # @note When making an API call, you may pass ListOpsItemRelatedItemsRequest
12307
+ # data as a hash:
12308
+ #
12309
+ # {
12310
+ # ops_item_id: "OpsItemId",
12311
+ # filters: [
12312
+ # {
12313
+ # key: "ResourceType", # required, accepts ResourceType, AssociationId, ResourceUri
12314
+ # values: ["OpsItemRelatedItemsFilterValue"], # required
12315
+ # operator: "Equal", # required, accepts Equal
12316
+ # },
12317
+ # ],
12318
+ # max_results: 1,
12319
+ # next_token: "String",
12320
+ # }
12321
+ #
12322
+ # @!attribute [rw] ops_item_id
12323
+ # The ID of the OpsItem for which you want to list all related-item
12324
+ # resources.
12325
+ # @return [String]
12326
+ #
12327
+ # @!attribute [rw] filters
12328
+ # One or more OpsItem filters. Use a filter to return a more specific
12329
+ # list of results.
12330
+ # @return [Array<Types::OpsItemRelatedItemsFilter>]
12331
+ #
12332
+ # @!attribute [rw] max_results
12333
+ # The maximum number of items to return for this call. The call also
12334
+ # returns a token that you can specify in a subsequent call to get the
12335
+ # next set of results.
12336
+ # @return [Integer]
12337
+ #
12338
+ # @!attribute [rw] next_token
12339
+ # The token for the next set of items to return. (You received this
12340
+ # token from a previous call.)
12341
+ # @return [String]
12342
+ #
12343
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemRelatedItemsRequest AWS API Documentation
12344
+ #
12345
+ class ListOpsItemRelatedItemsRequest < Struct.new(
12346
+ :ops_item_id,
12347
+ :filters,
12348
+ :max_results,
12349
+ :next_token)
12350
+ SENSITIVE = []
12351
+ include Aws::Structure
12352
+ end
12353
+
12354
+ # @!attribute [rw] next_token
12355
+ # The token for the next set of items to return. Use this token to get
12356
+ # the next set of results.
12357
+ # @return [String]
12358
+ #
12359
+ # @!attribute [rw] summaries
12360
+ # A list of related-item resources for the specified OpsItem.
12361
+ # @return [Array<Types::OpsItemRelatedItemSummary>]
12362
+ #
12363
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemRelatedItemsResponse AWS API Documentation
12364
+ #
12365
+ class ListOpsItemRelatedItemsResponse < Struct.new(
12366
+ :next_token,
12367
+ :summaries)
12368
+ SENSITIVE = []
12369
+ include Aws::Structure
12370
+ end
12371
+
12169
12372
  # @note When making an API call, you may pass ListOpsMetadataRequest
12170
12373
  # data as a hash:
12171
12374
  #
@@ -13813,7 +14016,8 @@ module Aws::SSM
13813
14016
  include Aws::Structure
13814
14017
  end
13815
14018
 
13816
- # Summary information about an OpsItem event.
14019
+ # Summary information about an OpsItem event or that associated an
14020
+ # OpsItem with a related item.
13817
14021
  #
13818
14022
  # @!attribute [rw] ops_item_id
13819
14023
  # The ID of the OpsItem.
@@ -13990,6 +14194,132 @@ module Aws::SSM
13990
14194
  include Aws::Structure
13991
14195
  end
13992
14196
 
14197
+ # The Amazon Resource Name (ARN) is already associated with the OpsItem.
14198
+ #
14199
+ # @!attribute [rw] message
14200
+ # @return [String]
14201
+ #
14202
+ # @!attribute [rw] resource_uri
14203
+ # @return [String]
14204
+ #
14205
+ # @!attribute [rw] ops_item_id
14206
+ # @return [String]
14207
+ #
14208
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemRelatedItemAlreadyExistsException AWS API Documentation
14209
+ #
14210
+ class OpsItemRelatedItemAlreadyExistsException < Struct.new(
14211
+ :message,
14212
+ :resource_uri,
14213
+ :ops_item_id)
14214
+ SENSITIVE = []
14215
+ include Aws::Structure
14216
+ end
14217
+
14218
+ # The association was not found using the parameters you specified in
14219
+ # the call. Verify the information and try again.
14220
+ #
14221
+ # @!attribute [rw] message
14222
+ # @return [String]
14223
+ #
14224
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemRelatedItemAssociationNotFoundException AWS API Documentation
14225
+ #
14226
+ class OpsItemRelatedItemAssociationNotFoundException < Struct.new(
14227
+ :message)
14228
+ SENSITIVE = []
14229
+ include Aws::Structure
14230
+ end
14231
+
14232
+ # Summary information about related-item resources for an OpsItem.
14233
+ #
14234
+ # @!attribute [rw] ops_item_id
14235
+ # The OpsItem ID.
14236
+ # @return [String]
14237
+ #
14238
+ # @!attribute [rw] association_id
14239
+ # The association ID.
14240
+ # @return [String]
14241
+ #
14242
+ # @!attribute [rw] resource_type
14243
+ # The resource type.
14244
+ # @return [String]
14245
+ #
14246
+ # @!attribute [rw] association_type
14247
+ # The association type.
14248
+ # @return [String]
14249
+ #
14250
+ # @!attribute [rw] resource_uri
14251
+ # The Amazon Resource Name (ARN) of the related-item resource.
14252
+ # @return [String]
14253
+ #
14254
+ # @!attribute [rw] created_by
14255
+ # Information about the user or resource that created an OpsItem
14256
+ # event.
14257
+ # @return [Types::OpsItemIdentity]
14258
+ #
14259
+ # @!attribute [rw] created_time
14260
+ # The time the related-item association was created.
14261
+ # @return [Time]
14262
+ #
14263
+ # @!attribute [rw] last_modified_by
14264
+ # Information about the user or resource that created an OpsItem
14265
+ # event.
14266
+ # @return [Types::OpsItemIdentity]
14267
+ #
14268
+ # @!attribute [rw] last_modified_time
14269
+ # The time the related-item association was last updated.
14270
+ # @return [Time]
14271
+ #
14272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemRelatedItemSummary AWS API Documentation
14273
+ #
14274
+ class OpsItemRelatedItemSummary < Struct.new(
14275
+ :ops_item_id,
14276
+ :association_id,
14277
+ :resource_type,
14278
+ :association_type,
14279
+ :resource_uri,
14280
+ :created_by,
14281
+ :created_time,
14282
+ :last_modified_by,
14283
+ :last_modified_time)
14284
+ SENSITIVE = []
14285
+ include Aws::Structure
14286
+ end
14287
+
14288
+ # Describes a filter for a specific list of related-item resources.
14289
+ #
14290
+ # @note When making an API call, you may pass OpsItemRelatedItemsFilter
14291
+ # data as a hash:
14292
+ #
14293
+ # {
14294
+ # key: "ResourceType", # required, accepts ResourceType, AssociationId, ResourceUri
14295
+ # values: ["OpsItemRelatedItemsFilterValue"], # required
14296
+ # operator: "Equal", # required, accepts Equal
14297
+ # }
14298
+ #
14299
+ # @!attribute [rw] key
14300
+ # The name of the filter key. Supported values include `ResourceUri`,
14301
+ # `ResourceType`, or `AssociationId`.
14302
+ # @return [String]
14303
+ #
14304
+ # @!attribute [rw] values
14305
+ # The values for the filter.
14306
+ # @return [Array<String>]
14307
+ #
14308
+ # @!attribute [rw] operator
14309
+ # The operator used by the filter call. The only supported operator is
14310
+ # `EQUAL`.
14311
+ # @return [String]
14312
+ #
14313
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemRelatedItemsFilter AWS API Documentation
14314
+ #
14315
+ class OpsItemRelatedItemsFilter < Struct.new(
14316
+ :key,
14317
+ :values,
14318
+ :operator)
14319
+ SENSITIVE = []
14320
+ include Aws::Structure
14321
+ end
14322
+
13993
14323
  # A count of OpsItems.
13994
14324
  #
13995
14325
  # @!attribute [rw] created_by
@@ -19199,6 +19529,7 @@ module Aws::SSM
19199
19529
  # },
19200
19530
  # ],
19201
19531
  # name: "DocumentName", # required
19532
+ # display_name: "DocumentDisplayName",
19202
19533
  # version_name: "DocumentVersionName",
19203
19534
  # document_version: "DocumentVersion",
19204
19535
  # document_format: "YAML", # accepts YAML, JSON, TEXT
@@ -19215,7 +19546,14 @@ module Aws::SSM
19215
19546
  # @return [Array<Types::AttachmentsSource>]
19216
19547
  #
19217
19548
  # @!attribute [rw] name
19218
- # The name of the document that you want to update.
19549
+ # The name of the Systems Manager document that you want to update.
19550
+ # @return [String]
19551
+ #
19552
+ # @!attribute [rw] display_name
19553
+ # The friendly name of the Systems Manager document that you want to
19554
+ # update. This value can differ for each version of the document. If
19555
+ # you do not specify a value for this parameter in your request, the
19556
+ # existing value is applied to the new document version.
19219
19557
  # @return [String]
19220
19558
  #
19221
19559
  # @!attribute [rw] version_name
@@ -19248,6 +19586,7 @@ module Aws::SSM
19248
19586
  :content,
19249
19587
  :attachments,
19250
19588
  :name,
19589
+ :display_name,
19251
19590
  :version_name,
19252
19591
  :document_version,
19253
19592
  :document_format,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ssm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.109.0
4
+ version: 1.110.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: 2021-05-06 00:00:00.000000000 Z
11
+ date: 2021-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core