New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/client-ssm-incidents

Package Overview
Dependencies
Maintainers
5
Versions
366
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-ssm-incidents - npm Package Compare versions

Comparing version 3.87.0 to 3.90.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [3.90.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.89.0...v3.90.0) (2022-05-12)
### Features
* **client-ssm-incidents:** Adding support for dynamic SSM Runbook parameter values. Updating validation pattern for engagements. Adding ConflictException to UpdateReplicationSet API contract. ([67fcba1](https://github.com/aws/aws-sdk-js-v3/commit/67fcba1df63f50c80a3bc11015a8d2d73cf85084))
# [3.87.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.86.0...v3.87.0) (2022-05-09)

@@ -8,0 +19,0 @@

32

dist-cjs/models/models_0.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReplicationSet = exports.ReplicationSetStatus = exports.RegionInfo = exports.RegionStatus = exports.GetReplicationSetInput = exports.GetIncidentRecordOutput = exports.IncidentRecord = exports.IncidentRecordStatus = exports.IncidentRecordSource = exports.GetIncidentRecordInput = exports.Filter = exports.EventSummary = exports.DeleteTimelineEventOutput = exports.DeleteTimelineEventInput = exports.DeleteResponsePlanOutput = exports.DeleteResponsePlanInput = exports.DeleteResourcePolicyOutput = exports.DeleteResourcePolicyInput = exports.DeleteReplicationSetOutput = exports.DeleteReplicationSetInput = exports.DeleteRegionAction = exports.DeleteIncidentRecordOutput = exports.DeleteIncidentRecordInput = exports.CreateTimelineEventOutput = exports.CreateTimelineEventInput = exports.ResourceNotFoundException = exports.CreateResponsePlanOutput = exports.CreateResponsePlanInput = exports.IncidentTemplate = exports.NotificationTargetItem = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ServiceCode = exports.InternalServerException = exports.CreateReplicationSetOutput = exports.CreateReplicationSetInput = exports.RegionMapInputValue = exports.ConflictException = exports.ResourceType = exports.Condition = exports.ChatChannel = exports.EmptyChatChannel = exports.AutomationExecution = exports.AttributeValueList = exports.AddRegionAction = exports.Action = exports.SsmAutomation = exports.SsmTargetAccount = exports.AccessDeniedException = void 0;
exports.UpdateResponsePlanOutput = exports.UpdateResponsePlanInput = exports.UpdateReplicationSetOutput = exports.UpdateReplicationSetInput = exports.UpdateReplicationSetAction = exports.UpdateRelatedItemsOutput = exports.UpdateRelatedItemsInput = exports.UpdateIncidentRecordOutput = exports.UpdateIncidentRecordInput = exports.UpdateDeletionProtectionOutput = exports.UpdateDeletionProtectionInput = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartIncidentOutput = exports.StartIncidentInput = exports.TriggerDetails = exports.RelatedItemsUpdate = exports.PutResourcePolicyOutput = exports.PutResourcePolicyInput = exports.ListTimelineEventsOutput = exports.ListTimelineEventsInput = exports.SortOrder = exports.TimelineEventSort = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListResponsePlansOutput = exports.ResponsePlanSummary = exports.ListResponsePlansInput = exports.ListReplicationSetsOutput = exports.ListReplicationSetsInput = exports.ListRelatedItemsOutput = exports.RelatedItem = exports.ListRelatedItemsInput = exports.ListIncidentRecordsOutput = exports.ListIncidentRecordsInput = exports.ItemIdentifier = exports.ItemValue = exports.ItemType = exports.IncidentRecordSummary = exports.GetTimelineEventOutput = exports.TimelineEvent = exports.GetTimelineEventInput = exports.GetResponsePlanOutput = exports.GetResponsePlanInput = exports.GetResourcePoliciesOutput = exports.ResourcePolicy = exports.GetResourcePoliciesInput = exports.GetReplicationSetOutput = void 0;
exports.UpdateTimelineEventOutput = exports.UpdateTimelineEventInput = void 0;
exports.RegionInfo = exports.RegionStatus = exports.GetReplicationSetInput = exports.GetIncidentRecordOutput = exports.IncidentRecord = exports.IncidentRecordStatus = exports.IncidentRecordSource = exports.GetIncidentRecordInput = exports.Filter = exports.EventSummary = exports.DeleteTimelineEventOutput = exports.DeleteTimelineEventInput = exports.DeleteResponsePlanOutput = exports.DeleteResponsePlanInput = exports.DeleteResourcePolicyOutput = exports.DeleteResourcePolicyInput = exports.DeleteReplicationSetOutput = exports.DeleteReplicationSetInput = exports.DeleteRegionAction = exports.DeleteIncidentRecordOutput = exports.DeleteIncidentRecordInput = exports.CreateTimelineEventOutput = exports.CreateTimelineEventInput = exports.ResourceNotFoundException = exports.CreateResponsePlanOutput = exports.CreateResponsePlanInput = exports.IncidentTemplate = exports.NotificationTargetItem = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ServiceCode = exports.InternalServerException = exports.CreateReplicationSetOutput = exports.CreateReplicationSetInput = exports.RegionMapInputValue = exports.ConflictException = exports.ResourceType = exports.Condition = exports.ChatChannel = exports.EmptyChatChannel = exports.AutomationExecution = exports.AttributeValueList = exports.AddRegionAction = exports.Action = exports.SsmAutomation = exports.SsmTargetAccount = exports.DynamicSsmParameterValue = exports.VariableType = exports.AccessDeniedException = void 0;
exports.UpdateReplicationSetOutput = exports.UpdateReplicationSetInput = exports.UpdateReplicationSetAction = exports.UpdateRelatedItemsOutput = exports.UpdateRelatedItemsInput = exports.UpdateIncidentRecordOutput = exports.UpdateIncidentRecordInput = exports.UpdateDeletionProtectionOutput = exports.UpdateDeletionProtectionInput = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartIncidentOutput = exports.StartIncidentInput = exports.TriggerDetails = exports.RelatedItemsUpdate = exports.PutResourcePolicyOutput = exports.PutResourcePolicyInput = exports.ListTimelineEventsOutput = exports.ListTimelineEventsInput = exports.SortOrder = exports.TimelineEventSort = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListResponsePlansOutput = exports.ResponsePlanSummary = exports.ListResponsePlansInput = exports.ListReplicationSetsOutput = exports.ListReplicationSetsInput = exports.ListRelatedItemsOutput = exports.RelatedItem = exports.ListRelatedItemsInput = exports.ListIncidentRecordsOutput = exports.ListIncidentRecordsInput = exports.ItemIdentifier = exports.ItemValue = exports.ItemType = exports.IncidentRecordSummary = exports.GetTimelineEventOutput = exports.TimelineEvent = exports.GetTimelineEventInput = exports.GetResponsePlanOutput = exports.GetResponsePlanInput = exports.GetResourcePoliciesOutput = exports.ResourcePolicy = exports.GetResourcePoliciesInput = exports.GetReplicationSetOutput = exports.ReplicationSet = exports.ReplicationSetStatus = void 0;
exports.UpdateTimelineEventOutput = exports.UpdateTimelineEventInput = exports.UpdateResponsePlanOutput = exports.UpdateResponsePlanInput = void 0;
const SSMIncidentsServiceException_1 = require("./SSMIncidentsServiceException");

@@ -20,2 +20,21 @@ class AccessDeniedException extends SSMIncidentsServiceException_1.SSMIncidentsServiceException {

exports.AccessDeniedException = AccessDeniedException;
var VariableType;
(function (VariableType) {
VariableType["INCIDENT_RECORD_ARN"] = "INCIDENT_RECORD_ARN";
VariableType["INVOLVED_RESOURCES"] = "INVOLVED_RESOURCES";
})(VariableType = exports.VariableType || (exports.VariableType = {}));
var DynamicSsmParameterValue;
(function (DynamicSsmParameterValue) {
DynamicSsmParameterValue.visit = (value, visitor) => {
if (value.variable !== undefined)
return visitor.variable(value.variable);
return visitor._(value.$unknown[0], value.$unknown[1]);
};
DynamicSsmParameterValue.filterSensitiveLog = (obj) => {
if (obj.variable !== undefined)
return { variable: obj.variable };
if (obj.$unknown !== undefined)
return { [obj.$unknown[0]]: "UNKNOWN" };
};
})(DynamicSsmParameterValue = exports.DynamicSsmParameterValue || (exports.DynamicSsmParameterValue = {}));
var SsmTargetAccount;

@@ -30,2 +49,8 @@ (function (SsmTargetAccount) {

...obj,
...(obj.dynamicParameters && {
dynamicParameters: Object.entries(obj.dynamicParameters).reduce((acc, [key, value]) => ({
...acc,
[key]: DynamicSsmParameterValue.filterSensitiveLog(value),
}), {}),
}),
});

@@ -518,2 +543,3 @@ })(SsmAutomation = exports.SsmAutomation || (exports.SsmAutomation = {}));

ItemType["INCIDENT"] = "INCIDENT";
ItemType["INVOLVED_RESOURCE"] = "INVOLVED_RESOURCE";
ItemType["METRIC"] = "METRIC";

@@ -520,0 +546,0 @@ ItemType["OTHER"] = "OTHER";

@@ -1,2 +0,2 @@

import { __assign, __extends } from "tslib";
import { __assign, __extends, __read } from "tslib";
import { SSMIncidentsServiceException as __BaseException } from "./SSMIncidentsServiceException";

@@ -15,2 +15,22 @@ var AccessDeniedException = (function (_super) {

export { AccessDeniedException };
export var VariableType;
(function (VariableType) {
VariableType["INCIDENT_RECORD_ARN"] = "INCIDENT_RECORD_ARN";
VariableType["INVOLVED_RESOURCES"] = "INVOLVED_RESOURCES";
})(VariableType || (VariableType = {}));
export var DynamicSsmParameterValue;
(function (DynamicSsmParameterValue) {
DynamicSsmParameterValue.visit = function (value, visitor) {
if (value.variable !== undefined)
return visitor.variable(value.variable);
return visitor._(value.$unknown[0], value.$unknown[1]);
};
DynamicSsmParameterValue.filterSensitiveLog = function (obj) {
var _a;
if (obj.variable !== undefined)
return { variable: obj.variable };
if (obj.$unknown !== undefined)
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
};
})(DynamicSsmParameterValue || (DynamicSsmParameterValue = {}));
export var SsmTargetAccount;

@@ -23,3 +43,9 @@ (function (SsmTargetAccount) {

(function (SsmAutomation) {
SsmAutomation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
SsmAutomation.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.dynamicParameters && {
dynamicParameters: Object.entries(obj.dynamicParameters).reduce(function (acc, _a) {
var _b;
var _c = __read(_a, 2), key = _c[0], value = _c[1];
return (__assign(__assign({}, acc), (_b = {}, _b[key] = DynamicSsmParameterValue.filterSensitiveLog(value), _b)));
}, {}),
}))); };
})(SsmAutomation || (SsmAutomation = {}));

@@ -419,2 +445,3 @@ export var Action;

ItemType["INCIDENT"] = "INCIDENT";
ItemType["INVOLVED_RESOURCE"] = "INVOLVED_RESOURCE";
ItemType["METRIC"] = "METRIC";

@@ -421,0 +448,0 @@ ItemType["OTHER"] = "OTHER";

5

dist-types/commands/PutResourcePolicyCommand.d.ts

@@ -10,3 +10,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";

/**
* <p>Adds a resource policy to the specified response plan.</p>
* <p>Adds a resource policy to the specified response plan. The resource policy is used to
* share the response plan using Resource Access Manager (RAM). For more
* information about cross-account sharing, see <a href="https://docs.aws.amazon.com/incident-manager/latest/userguide/xa.html">Setting up
* cross-account functionality</a>.</p>
* @example

@@ -13,0 +16,0 @@ * Use a bare-bones client and the command you need to make an API call.

@@ -168,3 +168,6 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";

/**
* <p>Adds a resource policy to the specified response plan.</p>
* <p>Adds a resource policy to the specified response plan. The resource policy is used to
* share the response plan using Resource Access Manager (RAM). For more
* information about cross-account sharing, see <a href="https://docs.aws.amazon.com/incident-manager/latest/userguide/xa.html">Setting up
* cross-account functionality</a>.</p>
*/

@@ -171,0 +174,0 @@ putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;

@@ -10,2 +10,29 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";

}
export declare enum VariableType {
INCIDENT_RECORD_ARN = "INCIDENT_RECORD_ARN",
INVOLVED_RESOURCES = "INVOLVED_RESOURCES"
}
export declare type DynamicSsmParameterValue = DynamicSsmParameterValue.VariableMember | DynamicSsmParameterValue.$UnknownMember;
export declare namespace DynamicSsmParameterValue {
interface VariableMember {
variable: VariableType | string;
$unknown?: never;
}
interface $UnknownMember {
variable?: never;
$unknown: [
string,
any
];
}
interface Visitor<T> {
variable: (value: VariableType | string) => T;
_: (name: string, value: any) => T;
}
const visit: <T>(value: DynamicSsmParameterValue, visitor: Visitor<T>) => T;
const filterSensitiveLog: (obj: DynamicSsmParameterValue) => any;
}
export declare enum SsmTargetAccount {

@@ -29,2 +56,6 @@ IMPACTED_ACCOUNT = "IMPACTED_ACCOUNT",

};
dynamicParameters?: {
[key: string]: DynamicSsmParameterValue;
};
}

@@ -792,2 +823,3 @@ export declare namespace SsmAutomation {

INCIDENT = "INCIDENT",
INVOLVED_RESOURCE = "INVOLVED_RESOURCE",
METRIC = "METRIC",

@@ -794,0 +826,0 @@ OTHER = "OTHER",

{
"name": "@aws-sdk/client-ssm-incidents",
"description": "AWS SDK for JavaScript Ssm Incidents Client for Node.js, Browser and React Native",
"version": "3.87.0",
"version": "3.90.0",
"scripts": {

@@ -6,0 +6,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc