aws-sdk-ssm 1.48.0 → 1.49.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-ssm.rb +1 -1
- data/lib/aws-sdk-ssm/client.rb +490 -4
- data/lib/aws-sdk-ssm/client_api.rb +287 -0
- data/lib/aws-sdk-ssm/errors.rb +89 -0
- data/lib/aws-sdk-ssm/types.rb +991 -27
- 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: a83acdf946bdd7a97ab0427d536e91e4ecd33d65
|
4
|
+
data.tar.gz: fed678f89a20c63cde761897b1fb67cc6bb2dfb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5416fdf867024f60aec07b86a56368414820108154b45cd0b911e4c2983a93677cf676e488bb23619aa268d5b1ad3d606cccebaaccadcc6620606dd39c3f79ae
|
7
|
+
data.tar.gz: fe788f827421a2d232994288d037b7e9b827ce871dd26d5687f0163fa16c5ef92f5f0c7db2fcff23146837790e2b6c007c029b1aa041fb93d5381e4eb907b5f1
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -327,7 +327,7 @@ module Aws::SSM
|
|
327
327
|
# @example Request syntax with placeholder values
|
328
328
|
#
|
329
329
|
# resp = client.add_tags_to_resource({
|
330
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline
|
330
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
331
331
|
# resource_id: "ResourceId", # required
|
332
332
|
# tags: [ # required
|
333
333
|
# {
|
@@ -1047,6 +1047,123 @@ module Aws::SSM
|
|
1047
1047
|
req.send_request(options)
|
1048
1048
|
end
|
1049
1049
|
|
1050
|
+
# Creates a new OpsItem. You must have permission in AWS Identity and
|
1051
|
+
# Access Management (IAM) to create a new OpsItem. For more information,
|
1052
|
+
# see [Getting Started with OpsItems][1] in the *AWS Systems Manager
|
1053
|
+
# User Guide*.
|
1054
|
+
#
|
1055
|
+
# Operations engineers and IT professionals use the Systems Manager
|
1056
|
+
# OpsItems capability to view, investigate, and remediate operational
|
1057
|
+
# issues impacting the performance and health of their AWS resources.
|
1058
|
+
# For more information, see [AWS Systems Manager OpsItems][2] in the
|
1059
|
+
# *AWS Systems Manager User Guide*.
|
1060
|
+
#
|
1061
|
+
#
|
1062
|
+
#
|
1063
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/OpsItems-getting-started.html
|
1064
|
+
# [2]: http://docs.aws.amazon.com/systems-manager/latest/userguide/OpsItems.html
|
1065
|
+
#
|
1066
|
+
# @option params [required, String] :description
|
1067
|
+
# Information about the OpsItem.
|
1068
|
+
#
|
1069
|
+
# @option params [Hash<String,Types::OpsItemDataValue>] :operational_data
|
1070
|
+
# Operational data is custom data that provides useful reference details
|
1071
|
+
# about the OpsItem. For example, you can specify log files, error
|
1072
|
+
# strings, license keys, troubleshooting tips, or other relevant data.
|
1073
|
+
# You enter operational data as key-value pairs. The key has a maximum
|
1074
|
+
# length of 128 characters. The value has a maximum size of 20 KB.
|
1075
|
+
#
|
1076
|
+
# This custom data is searchable, but with restrictions. For the
|
1077
|
+
# `Searchable operational data` feature, all users with access to the
|
1078
|
+
# OpsItem Overview page (as provided by the DescribeOpsItems API action)
|
1079
|
+
# can view and search on the specified data. For the `Private
|
1080
|
+
# operational data` feature, the data is only viewable by users who have
|
1081
|
+
# access to the OpsItem (as provided by the GetOpsItem API action).
|
1082
|
+
#
|
1083
|
+
# @option params [Array<Types::OpsItemNotification>] :notifications
|
1084
|
+
# The Amazon Resource Name (ARN) of an SNS topic where notifications are
|
1085
|
+
# sent when this OpsItem is edited or changed.
|
1086
|
+
#
|
1087
|
+
# @option params [Integer] :priority
|
1088
|
+
# The importance of this OpsItem in relation to other OpsItems in the
|
1089
|
+
# system.
|
1090
|
+
#
|
1091
|
+
# @option params [Array<Types::RelatedOpsItem>] :related_ops_items
|
1092
|
+
# One or more OpsItems that share something in common with the current
|
1093
|
+
# OpsItems. For example, related OpsItems can include OpsItems with
|
1094
|
+
# similar error messages, impacted resources, or statuses for the
|
1095
|
+
# impacted resource.
|
1096
|
+
#
|
1097
|
+
# @option params [required, String] :source
|
1098
|
+
# The origin of the OpsItem, such as Amazon EC2 or AWS Systems Manager.
|
1099
|
+
#
|
1100
|
+
# @option params [required, String] :title
|
1101
|
+
# A short heading that describes the nature of the OpsItem and the
|
1102
|
+
# impacted resource.
|
1103
|
+
#
|
1104
|
+
# @option params [Array<Types::Tag>] :tags
|
1105
|
+
# Optional metadata that you assign to a resource. Tags enable you to
|
1106
|
+
# categorize a resource in different ways, such as by purpose, owner, or
|
1107
|
+
# environment. For example, you might want to tag an OpsItem to identify
|
1108
|
+
# the AWS resource or the type of issue. In this case, you could specify
|
1109
|
+
# the following key name/value pairs:
|
1110
|
+
#
|
1111
|
+
# * `Key=source,Value=EC2-instance`
|
1112
|
+
#
|
1113
|
+
# * `Key=status,Value=stopped`
|
1114
|
+
#
|
1115
|
+
# <note markdown="1"> To add tags to an existing OpsItem, use the AddTagsToResource action.
|
1116
|
+
#
|
1117
|
+
# </note>
|
1118
|
+
#
|
1119
|
+
# @return [Types::CreateOpsItemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1120
|
+
#
|
1121
|
+
# * {Types::CreateOpsItemResponse#ops_item_id #ops_item_id} => String
|
1122
|
+
#
|
1123
|
+
# @example Request syntax with placeholder values
|
1124
|
+
#
|
1125
|
+
# resp = client.create_ops_item({
|
1126
|
+
# description: "OpsItemDescription", # required
|
1127
|
+
# operational_data: {
|
1128
|
+
# "OpsItemDataKey" => {
|
1129
|
+
# value: "OpsItemDataValueString",
|
1130
|
+
# type: "SearchableString", # accepts SearchableString, String
|
1131
|
+
# },
|
1132
|
+
# },
|
1133
|
+
# notifications: [
|
1134
|
+
# {
|
1135
|
+
# arn: "String",
|
1136
|
+
# },
|
1137
|
+
# ],
|
1138
|
+
# priority: 1,
|
1139
|
+
# related_ops_items: [
|
1140
|
+
# {
|
1141
|
+
# ops_item_id: "String", # required
|
1142
|
+
# },
|
1143
|
+
# ],
|
1144
|
+
# source: "OpsItemSource", # required
|
1145
|
+
# title: "OpsItemTitle", # required
|
1146
|
+
# tags: [
|
1147
|
+
# {
|
1148
|
+
# key: "TagKey", # required
|
1149
|
+
# value: "TagValue", # required
|
1150
|
+
# },
|
1151
|
+
# ],
|
1152
|
+
# })
|
1153
|
+
#
|
1154
|
+
# @example Response structure
|
1155
|
+
#
|
1156
|
+
# resp.ops_item_id #=> String
|
1157
|
+
#
|
1158
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsItem AWS API Documentation
|
1159
|
+
#
|
1160
|
+
# @overload create_ops_item(params = {})
|
1161
|
+
# @param [Hash] params ({})
|
1162
|
+
def create_ops_item(params = {}, options = {})
|
1163
|
+
req = build_request(:create_ops_item, params)
|
1164
|
+
req.send_request(options)
|
1165
|
+
end
|
1166
|
+
|
1050
1167
|
# Creates a patch baseline.
|
1051
1168
|
#
|
1052
1169
|
# <note markdown="1"> For information about valid key and value pairs in `PatchFilters` for
|
@@ -3330,6 +3447,131 @@ module Aws::SSM
|
|
3330
3447
|
req.send_request(options)
|
3331
3448
|
end
|
3332
3449
|
|
3450
|
+
# Query a set of OpsItems. You must have permission in AWS Identity and
|
3451
|
+
# Access Management (IAM) to query a list of OpsItems. For more
|
3452
|
+
# information, see [Getting Started with OpsItems][1] in the *AWS
|
3453
|
+
# Systems Manager User Guide*.
|
3454
|
+
#
|
3455
|
+
# Operations engineers and IT professionals use the Systems Manager
|
3456
|
+
# OpsItems capability to view, investigate, and remediate operational
|
3457
|
+
# issues impacting the performance and health of their AWS resources.
|
3458
|
+
# For more information, see [AWS Systems Manager OpsItems][2] in the
|
3459
|
+
# *AWS Systems Manager User Guide*.
|
3460
|
+
#
|
3461
|
+
#
|
3462
|
+
#
|
3463
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/OpsItems-getting-started.html
|
3464
|
+
# [2]: http://docs.aws.amazon.com/systems-manager/latest/userguide/OpsItems.html
|
3465
|
+
#
|
3466
|
+
# @option params [Array<Types::OpsItemFilter>] :ops_item_filters
|
3467
|
+
# One or more filters to limit the reponse.
|
3468
|
+
#
|
3469
|
+
# * Key: CreatedTime
|
3470
|
+
#
|
3471
|
+
# Operations: GreaterThan, LessThan
|
3472
|
+
#
|
3473
|
+
# * Key: LastModifiedBy
|
3474
|
+
#
|
3475
|
+
# Operations: Contains, Equals
|
3476
|
+
#
|
3477
|
+
# * Key: LastModifiedTime
|
3478
|
+
#
|
3479
|
+
# Operations: GreaterThan, LessThan
|
3480
|
+
#
|
3481
|
+
# * Key: Priority
|
3482
|
+
#
|
3483
|
+
# Operations: Equals
|
3484
|
+
#
|
3485
|
+
# * Key: Source
|
3486
|
+
#
|
3487
|
+
# Operations: Contains, Equals
|
3488
|
+
#
|
3489
|
+
# * Key: Status
|
3490
|
+
#
|
3491
|
+
# Operations: Equals
|
3492
|
+
#
|
3493
|
+
# * Key: Title
|
3494
|
+
#
|
3495
|
+
# Operations: Contains
|
3496
|
+
#
|
3497
|
+
# * Key: OperationalData
|
3498
|
+
#
|
3499
|
+
# Operations: Equals
|
3500
|
+
#
|
3501
|
+
# * Key: OperationalDataKey
|
3502
|
+
#
|
3503
|
+
# Operations: Equals
|
3504
|
+
#
|
3505
|
+
# * Key: OperationalDataValue
|
3506
|
+
#
|
3507
|
+
# Operations: Equals, Contains
|
3508
|
+
#
|
3509
|
+
# * Key: OpsItemId
|
3510
|
+
#
|
3511
|
+
# Operations: Equals
|
3512
|
+
#
|
3513
|
+
# * Key: ResourceId
|
3514
|
+
#
|
3515
|
+
# Operations: Contains
|
3516
|
+
#
|
3517
|
+
# * Key: AutomationId
|
3518
|
+
#
|
3519
|
+
# Operations: Equals
|
3520
|
+
#
|
3521
|
+
# @option params [Integer] :max_results
|
3522
|
+
# The maximum number of items to return for this call. The call also
|
3523
|
+
# returns a token that you can specify in a subsequent call to get the
|
3524
|
+
# next set of results.
|
3525
|
+
#
|
3526
|
+
# @option params [String] :next_token
|
3527
|
+
# A token to start the list. Use this token to get the next set of
|
3528
|
+
# results.
|
3529
|
+
#
|
3530
|
+
# @return [Types::DescribeOpsItemsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3531
|
+
#
|
3532
|
+
# * {Types::DescribeOpsItemsResponse#next_token #next_token} => String
|
3533
|
+
# * {Types::DescribeOpsItemsResponse#ops_item_summaries #ops_item_summaries} => Array<Types::OpsItemSummary>
|
3534
|
+
#
|
3535
|
+
# @example Request syntax with placeholder values
|
3536
|
+
#
|
3537
|
+
# resp = client.describe_ops_items({
|
3538
|
+
# ops_item_filters: [
|
3539
|
+
# {
|
3540
|
+
# key: "Status", # required, accepts Status, CreatedBy, Source, Priority, Title, OpsItemId, CreatedTime, LastModifiedTime, OperationalData, OperationalDataKey, OperationalDataValue, ResourceId, AutomationId
|
3541
|
+
# values: ["OpsItemFilterValue"], # required
|
3542
|
+
# operator: "Equal", # required, accepts Equal, Contains, GreaterThan, LessThan
|
3543
|
+
# },
|
3544
|
+
# ],
|
3545
|
+
# max_results: 1,
|
3546
|
+
# next_token: "String",
|
3547
|
+
# })
|
3548
|
+
#
|
3549
|
+
# @example Response structure
|
3550
|
+
#
|
3551
|
+
# resp.next_token #=> String
|
3552
|
+
# resp.ops_item_summaries #=> Array
|
3553
|
+
# resp.ops_item_summaries[0].created_by #=> String
|
3554
|
+
# resp.ops_item_summaries[0].created_time #=> Time
|
3555
|
+
# resp.ops_item_summaries[0].last_modified_by #=> String
|
3556
|
+
# resp.ops_item_summaries[0].last_modified_time #=> Time
|
3557
|
+
# resp.ops_item_summaries[0].priority #=> Integer
|
3558
|
+
# resp.ops_item_summaries[0].source #=> String
|
3559
|
+
# resp.ops_item_summaries[0].status #=> String, one of "Open", "InProgress", "Resolved"
|
3560
|
+
# resp.ops_item_summaries[0].ops_item_id #=> String
|
3561
|
+
# resp.ops_item_summaries[0].title #=> String
|
3562
|
+
# resp.ops_item_summaries[0].operational_data #=> Hash
|
3563
|
+
# resp.ops_item_summaries[0].operational_data["OpsItemDataKey"].value #=> String
|
3564
|
+
# resp.ops_item_summaries[0].operational_data["OpsItemDataKey"].type #=> String, one of "SearchableString", "String"
|
3565
|
+
#
|
3566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeOpsItems AWS API Documentation
|
3567
|
+
#
|
3568
|
+
# @overload describe_ops_items(params = {})
|
3569
|
+
# @param [Hash] params ({})
|
3570
|
+
def describe_ops_items(params = {}, options = {})
|
3571
|
+
req = build_request(:describe_ops_items, params)
|
3572
|
+
req.send_request(options)
|
3573
|
+
end
|
3574
|
+
|
3333
3575
|
# Get information about a parameter.
|
3334
3576
|
#
|
3335
3577
|
# Request results are returned on a best-effort basis. If you specify
|
@@ -4529,6 +4771,141 @@ module Aws::SSM
|
|
4529
4771
|
req.send_request(options)
|
4530
4772
|
end
|
4531
4773
|
|
4774
|
+
# Get information about an OpsItem by using the ID. You must have
|
4775
|
+
# permission in AWS Identity and Access Management (IAM) to view
|
4776
|
+
# information about an OpsItem. For more information, see [Getting
|
4777
|
+
# Started with OpsItems][1] in the *AWS Systems Manager User Guide*.
|
4778
|
+
#
|
4779
|
+
# Operations engineers and IT professionals use the Systems Manager
|
4780
|
+
# OpsItems capability to view, investigate, and remediate operational
|
4781
|
+
# issues impacting the performance and health of their AWS resources.
|
4782
|
+
# For more information, see [AWS Systems Manager OpsItems][2] in the
|
4783
|
+
# *AWS Systems Manager User Guide*.
|
4784
|
+
#
|
4785
|
+
#
|
4786
|
+
#
|
4787
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/OpsItems-getting-started.html
|
4788
|
+
# [2]: http://docs.aws.amazon.com/systems-manager/latest/userguide/OpsItems.html
|
4789
|
+
#
|
4790
|
+
# @option params [required, String] :ops_item_id
|
4791
|
+
# The ID of the OpsItem that you want to get.
|
4792
|
+
#
|
4793
|
+
# @return [Types::GetOpsItemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4794
|
+
#
|
4795
|
+
# * {Types::GetOpsItemResponse#ops_item #ops_item} => Types::OpsItem
|
4796
|
+
#
|
4797
|
+
# @example Request syntax with placeholder values
|
4798
|
+
#
|
4799
|
+
# resp = client.get_ops_item({
|
4800
|
+
# ops_item_id: "OpsItemId", # required
|
4801
|
+
# })
|
4802
|
+
#
|
4803
|
+
# @example Response structure
|
4804
|
+
#
|
4805
|
+
# resp.ops_item.created_by #=> String
|
4806
|
+
# resp.ops_item.created_time #=> Time
|
4807
|
+
# resp.ops_item.description #=> String
|
4808
|
+
# resp.ops_item.last_modified_by #=> String
|
4809
|
+
# resp.ops_item.last_modified_time #=> Time
|
4810
|
+
# resp.ops_item.notifications #=> Array
|
4811
|
+
# resp.ops_item.notifications[0].arn #=> String
|
4812
|
+
# resp.ops_item.priority #=> Integer
|
4813
|
+
# resp.ops_item.related_ops_items #=> Array
|
4814
|
+
# resp.ops_item.related_ops_items[0].ops_item_id #=> String
|
4815
|
+
# resp.ops_item.status #=> String, one of "Open", "InProgress", "Resolved"
|
4816
|
+
# resp.ops_item.ops_item_id #=> String
|
4817
|
+
# resp.ops_item.version #=> String
|
4818
|
+
# resp.ops_item.title #=> String
|
4819
|
+
# resp.ops_item.source #=> String
|
4820
|
+
# resp.ops_item.operational_data #=> Hash
|
4821
|
+
# resp.ops_item.operational_data["OpsItemDataKey"].value #=> String
|
4822
|
+
# resp.ops_item.operational_data["OpsItemDataKey"].type #=> String, one of "SearchableString", "String"
|
4823
|
+
#
|
4824
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsItem AWS API Documentation
|
4825
|
+
#
|
4826
|
+
# @overload get_ops_item(params = {})
|
4827
|
+
# @param [Hash] params ({})
|
4828
|
+
def get_ops_item(params = {}, options = {})
|
4829
|
+
req = build_request(:get_ops_item, params)
|
4830
|
+
req.send_request(options)
|
4831
|
+
end
|
4832
|
+
|
4833
|
+
# View a summary of OpsItems based on specified filters and aggregators.
|
4834
|
+
#
|
4835
|
+
# @option params [Array<Types::OpsFilter>] :filters
|
4836
|
+
# Optional filters used to scope down the returned OpsItems.
|
4837
|
+
#
|
4838
|
+
# @option params [required, Array<Types::OpsAggregator>] :aggregators
|
4839
|
+
# Optional aggregators that return counts of OpsItems based on one or
|
4840
|
+
# more expressions.
|
4841
|
+
#
|
4842
|
+
# @option params [String] :next_token
|
4843
|
+
# A token to start the list. Use this token to get the next set of
|
4844
|
+
# results.
|
4845
|
+
#
|
4846
|
+
# @option params [Integer] :max_results
|
4847
|
+
# The maximum number of items to return for this call. The call also
|
4848
|
+
# returns a token that you can specify in a subsequent call to get the
|
4849
|
+
# next set of results.
|
4850
|
+
#
|
4851
|
+
# @return [Types::GetOpsSummaryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4852
|
+
#
|
4853
|
+
# * {Types::GetOpsSummaryResult#entities #entities} => Array<Types::OpsEntity>
|
4854
|
+
# * {Types::GetOpsSummaryResult#next_token #next_token} => String
|
4855
|
+
#
|
4856
|
+
# @example Request syntax with placeholder values
|
4857
|
+
#
|
4858
|
+
# resp = client.get_ops_summary({
|
4859
|
+
# filters: [
|
4860
|
+
# {
|
4861
|
+
# key: "OpsFilterKey", # required
|
4862
|
+
# values: ["OpsFilterValue"], # required
|
4863
|
+
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
|
4864
|
+
# },
|
4865
|
+
# ],
|
4866
|
+
# aggregators: [ # required
|
4867
|
+
# {
|
4868
|
+
# aggregator_type: "OpsAggregatorType",
|
4869
|
+
# type_name: "OpsDataTypeName",
|
4870
|
+
# attribute_name: "OpsDataAttributeName",
|
4871
|
+
# values: {
|
4872
|
+
# "OpsAggregatorValueKey" => "OpsAggregatorValue",
|
4873
|
+
# },
|
4874
|
+
# filters: [
|
4875
|
+
# {
|
4876
|
+
# key: "OpsFilterKey", # required
|
4877
|
+
# values: ["OpsFilterValue"], # required
|
4878
|
+
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
|
4879
|
+
# },
|
4880
|
+
# ],
|
4881
|
+
# aggregators: {
|
4882
|
+
# # recursive OpsAggregatorList
|
4883
|
+
# },
|
4884
|
+
# },
|
4885
|
+
# ],
|
4886
|
+
# next_token: "NextToken",
|
4887
|
+
# max_results: 1,
|
4888
|
+
# })
|
4889
|
+
#
|
4890
|
+
# @example Response structure
|
4891
|
+
#
|
4892
|
+
# resp.entities #=> Array
|
4893
|
+
# resp.entities[0].id #=> String
|
4894
|
+
# resp.entities[0].data #=> Hash
|
4895
|
+
# resp.entities[0].data["OpsEntityItemKey"].content #=> Array
|
4896
|
+
# resp.entities[0].data["OpsEntityItemKey"].content[0] #=> Hash
|
4897
|
+
# resp.entities[0].data["OpsEntityItemKey"].content[0]["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
4898
|
+
# resp.next_token #=> String
|
4899
|
+
#
|
4900
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsSummary AWS API Documentation
|
4901
|
+
#
|
4902
|
+
# @overload get_ops_summary(params = {})
|
4903
|
+
# @param [Hash] params ({})
|
4904
|
+
def get_ops_summary(params = {}, options = {})
|
4905
|
+
req = build_request(:get_ops_summary, params)
|
4906
|
+
req.send_request(options)
|
4907
|
+
end
|
4908
|
+
|
4532
4909
|
# Get information about a parameter by using the parameter name. Don't
|
4533
4910
|
# confuse this API action with the GetParameters API action.
|
4534
4911
|
#
|
@@ -5790,7 +6167,7 @@ module Aws::SSM
|
|
5790
6167
|
# @example Request syntax with placeholder values
|
5791
6168
|
#
|
5792
6169
|
# resp = client.list_tags_for_resource({
|
5793
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline
|
6170
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
5794
6171
|
# resource_id: "ResourceId", # required
|
5795
6172
|
# })
|
5796
6173
|
#
|
@@ -6584,7 +6961,7 @@ module Aws::SSM
|
|
6584
6961
|
# @example Request syntax with placeholder values
|
6585
6962
|
#
|
6586
6963
|
# resp = client.remove_tags_from_resource({
|
6587
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline
|
6964
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
6588
6965
|
# resource_id: "ResourceId", # required
|
6589
6966
|
# tag_keys: ["TagKey"], # required
|
6590
6967
|
# })
|
@@ -8055,6 +8432,115 @@ module Aws::SSM
|
|
8055
8432
|
req.send_request(options)
|
8056
8433
|
end
|
8057
8434
|
|
8435
|
+
# Edit or change an OpsItem. You must have permission in AWS Identity
|
8436
|
+
# and Access Management (IAM) to update an OpsItem. For more
|
8437
|
+
# information, see [Getting Started with OpsItems][1] in the *AWS
|
8438
|
+
# Systems Manager User Guide*.
|
8439
|
+
#
|
8440
|
+
# Operations engineers and IT professionals use the Systems Manager
|
8441
|
+
# OpsItems capability to view, investigate, and remediate operational
|
8442
|
+
# issues impacting the performance and health of their AWS resources.
|
8443
|
+
# For more information, see [AWS Systems Manager OpsItems][2] in the
|
8444
|
+
# *AWS Systems Manager User Guide*.
|
8445
|
+
#
|
8446
|
+
#
|
8447
|
+
#
|
8448
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/OpsItems-getting-started.html
|
8449
|
+
# [2]: http://docs.aws.amazon.com/systems-manager/latest/userguide/OpsItems.html
|
8450
|
+
#
|
8451
|
+
# @option params [String] :description
|
8452
|
+
# Update the information about the OpsItem. Provide enough information
|
8453
|
+
# so that users reading this OpsItem for the first time understand the
|
8454
|
+
# issue.
|
8455
|
+
#
|
8456
|
+
# @option params [Hash<String,Types::OpsItemDataValue>] :operational_data
|
8457
|
+
# Add new keys or edit existing key-value pairs of the OperationalData
|
8458
|
+
# map in the OpsItem object.
|
8459
|
+
#
|
8460
|
+
# Operational data is custom data that provides useful reference details
|
8461
|
+
# about the OpsItem. For example, you can specify log files, error
|
8462
|
+
# strings, license keys, troubleshooting tips, or other relevant data.
|
8463
|
+
# You enter operational data as key-value pairs. The key has a maximum
|
8464
|
+
# length of 128 characters. The value has a maximum size of 20 KB.
|
8465
|
+
#
|
8466
|
+
# This custom data is searchable, but with restrictions. For the
|
8467
|
+
# `Searchable operational data` feature, all users with access to the
|
8468
|
+
# OpsItem Overview page (as provided by the DescribeOpsItems API action)
|
8469
|
+
# can view and search on the specified data. For the `Private
|
8470
|
+
# operational data` feature, the data is only viewable by users who have
|
8471
|
+
# access to the OpsItem (as provided by the GetOpsItem API action).
|
8472
|
+
#
|
8473
|
+
# @option params [Array<String>] :operational_data_to_delete
|
8474
|
+
# Keys that you want to remove from the OperationalData map.
|
8475
|
+
#
|
8476
|
+
# @option params [Array<Types::OpsItemNotification>] :notifications
|
8477
|
+
# The Amazon Resource Name (ARN) of an SNS topic where notifications are
|
8478
|
+
# sent when this OpsItem is edited or changed.
|
8479
|
+
#
|
8480
|
+
# @option params [Integer] :priority
|
8481
|
+
# The importance of this OpsItem in relation to other OpsItems in the
|
8482
|
+
# system.
|
8483
|
+
#
|
8484
|
+
# @option params [Array<Types::RelatedOpsItem>] :related_ops_items
|
8485
|
+
# One or more OpsItems that share something in common with the current
|
8486
|
+
# OpsItems. For example, related OpsItems can include OpsItems with
|
8487
|
+
# similar error messages, impacted resources, or statuses for the
|
8488
|
+
# impacted resource.
|
8489
|
+
#
|
8490
|
+
# @option params [String] :status
|
8491
|
+
# The OpsItem status. Status can be `Open`, `In Progress`, or
|
8492
|
+
# `Resolved`. For more information, see [Editing OpsItem Details][1] in
|
8493
|
+
# the *AWS Systems Manager User Guide*.
|
8494
|
+
#
|
8495
|
+
#
|
8496
|
+
#
|
8497
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/OpsItems-working-with-OpsItems-editing-details.html
|
8498
|
+
#
|
8499
|
+
# @option params [required, String] :ops_item_id
|
8500
|
+
# The ID of the OpsItem.
|
8501
|
+
#
|
8502
|
+
# @option params [String] :title
|
8503
|
+
# A short heading that describes the nature of the OpsItem and the
|
8504
|
+
# impacted resource.
|
8505
|
+
#
|
8506
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
8507
|
+
#
|
8508
|
+
# @example Request syntax with placeholder values
|
8509
|
+
#
|
8510
|
+
# resp = client.update_ops_item({
|
8511
|
+
# description: "OpsItemDescription",
|
8512
|
+
# operational_data: {
|
8513
|
+
# "OpsItemDataKey" => {
|
8514
|
+
# value: "OpsItemDataValueString",
|
8515
|
+
# type: "SearchableString", # accepts SearchableString, String
|
8516
|
+
# },
|
8517
|
+
# },
|
8518
|
+
# operational_data_to_delete: ["String"],
|
8519
|
+
# notifications: [
|
8520
|
+
# {
|
8521
|
+
# arn: "String",
|
8522
|
+
# },
|
8523
|
+
# ],
|
8524
|
+
# priority: 1,
|
8525
|
+
# related_ops_items: [
|
8526
|
+
# {
|
8527
|
+
# ops_item_id: "String", # required
|
8528
|
+
# },
|
8529
|
+
# ],
|
8530
|
+
# status: "Open", # accepts Open, InProgress, Resolved
|
8531
|
+
# ops_item_id: "OpsItemId", # required
|
8532
|
+
# title: "OpsItemTitle",
|
8533
|
+
# })
|
8534
|
+
#
|
8535
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsItem AWS API Documentation
|
8536
|
+
#
|
8537
|
+
# @overload update_ops_item(params = {})
|
8538
|
+
# @param [Hash] params ({})
|
8539
|
+
def update_ops_item(params = {}, options = {})
|
8540
|
+
req = build_request(:update_ops_item, params)
|
8541
|
+
req.send_request(options)
|
8542
|
+
end
|
8543
|
+
|
8058
8544
|
# Modifies an existing patch baseline. Fields not specified in the
|
8059
8545
|
# request are left unchanged.
|
8060
8546
|
#
|
@@ -8298,7 +8784,7 @@ module Aws::SSM
|
|
8298
8784
|
params: params,
|
8299
8785
|
config: config)
|
8300
8786
|
context[:gem_name] = 'aws-sdk-ssm'
|
8301
|
-
context[:gem_version] = '1.
|
8787
|
+
context[:gem_version] = '1.49.0'
|
8302
8788
|
Seahorse::Client::Request.new(handlers, context)
|
8303
8789
|
end
|
8304
8790
|
|