@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Amazon Simple Systems Manager (SSM)
@version 2014-11-06
@auth AWS SigV4
@endpoints 140
@hint download_for_search
@toc root(140)

@endpoint POST /
@required {ResourceType: str, ResourceId: str, Tags: [Tag]}

@endpoint POST /
@required {OpsItemId: str, AssociationType: str, ResourceType: str, ResourceUri: str}
@returns(200) {AssociationId: str?}

@endpoint POST /
@required {CommandId: str}
@optional {InstanceIds: [str]}

@endpoint POST /
@required {WindowExecutionId: str}
@returns(200) {WindowExecutionId: str?}

@endpoint POST /
@required {IamRole: str}
@optional {Description: str, DefaultInstanceName: str, RegistrationLimit: int, ExpirationDate: str(timestamp), Tags: [Tag], RegistrationMetadata: [RegistrationMetadataItem]}
@returns(200) {ActivationId: str?, ActivationCode: str?}

@endpoint POST /
@required {Name: str}
@optional {DocumentVersion: str, InstanceId: str, Parameters: map<str,[str]>, Targets: [Target], ScheduleExpression: str, OutputLocation: InstanceAssociationOutputLocation, AssociationName: str, AutomationTargetParameterName: str, MaxErrors: str, MaxConcurrency: str, ComplianceSeverity: str, SyncCompliance: str, ApplyOnlyAtCronInterval: bool, CalendarNames: [str], TargetLocations: [TargetLocation], ScheduleOffset: int, Duration: int, TargetMaps: [map<str,[str]>], Tags: [Tag], AlarmConfiguration: AlarmConfiguration}
@returns(200) {AssociationDescription: AssociationDescription?{Name: str?, InstanceId: str?, AssociationVersion: str?, Date: str(timestamp)?, LastUpdateAssociationDate: str(timestamp)?, Status: AssociationStatus?{Date: str(timestamp), Name: str, Message: str, AdditionalInfo: str?}, Overview: AssociationOverview?{Status: str?, DetailedStatus: str?, AssociationStatusAggregatedCount: map<str,int>?}, DocumentVersion: str?, AutomationTargetParameterName: str?, Parameters: map<str,[str]>?, AssociationId: str?, Targets: [Target]?, ScheduleExpression: str?, OutputLocation: InstanceAssociationOutputLocation?{S3Location: S3OutputLocation?{OutputS3Region: str?, OutputS3BucketName: str?, OutputS3KeyPrefix: str?}}, LastExecutionDate: str(timestamp)?, LastSuccessfulExecutionDate: str(timestamp)?, AssociationName: str?, MaxErrors: str?, MaxConcurrency: str?, ComplianceSeverity: str?, SyncCompliance: str?, ApplyOnlyAtCronInterval: bool?, CalendarNames: [str]?, TargetLocations: [TargetLocation]?, ScheduleOffset: int?, Duration: int?, TargetMaps: [map<str,[str]>]?, AlarmConfiguration: AlarmConfiguration?{IgnorePollAlarmFailure: bool?, Alarms: [Alarm]}, TriggeredAlarms: [AlarmStateInformation]?}}

@endpoint POST /
@required {Entries: [CreateAssociationBatchRequestEntry]}
@returns(200) {Successful: [AssociationDescription]?, Failed: [FailedCreateAssociation]?}

@endpoint POST /
@required {Content: str, Name: str}
@optional {Requires: [DocumentRequires], Attachments: [AttachmentsSource], DisplayName: str, VersionName: str, DocumentType: str, DocumentFormat: str, TargetType: str, Tags: [Tag]}
@returns(200) {DocumentDescription: DocumentDescription?{Sha1: str?, Hash: str?, HashType: str?, Name: str?, DisplayName: str?, VersionName: str?, Owner: str?, CreatedDate: str(timestamp)?, Status: str?, StatusInformation: str?, DocumentVersion: str?, Description: str?, Parameters: [DocumentParameter]?, PlatformTypes: [str]?, DocumentType: str?, SchemaVersion: str?, LatestVersion: str?, DefaultVersion: str?, DocumentFormat: str?, TargetType: str?, Tags: [Tag]?, AttachmentsInformation: [AttachmentInformation]?, Requires: [DocumentRequires]?, Author: str?, ReviewInformation: [ReviewInformation]?, ApprovedVersion: str?, PendingReviewVersion: str?, ReviewStatus: str?, Category: [str]?, CategoryEnum: [str]?}}

@endpoint POST /
@required {Name: str, Schedule: str, Duration: int, Cutoff: int, AllowUnassociatedTargets: bool}
@optional {Description: str, StartDate: str, EndDate: str, ScheduleTimezone: str, ScheduleOffset: int, ClientToken: str, Tags: [Tag]}
@returns(200) {WindowId: str?}

@endpoint POST /
@required {Description: str, Source: str, Title: str}
@optional {OpsItemType: str, OperationalData: map<str,OpsItemDataValue>, Notifications: [OpsItemNotification], Priority: int, RelatedOpsItems: [RelatedOpsItem], Tags: [Tag], Category: str, Severity: str, ActualStartTime: str(timestamp), ActualEndTime: str(timestamp), PlannedStartTime: str(timestamp), PlannedEndTime: str(timestamp), AccountId: str}
@returns(200) {OpsItemId: str?, OpsItemArn: str?}

@endpoint POST /
@required {ResourceId: str}
@optional {Metadata: map<str,MetadataValue>, Tags: [Tag]}
@returns(200) {OpsMetadataArn: str?}

@endpoint POST /
@required {Name: str}
@optional {OperatingSystem: str, GlobalFilters: PatchFilterGroup, ApprovalRules: PatchRuleGroup, ApprovedPatches: [str], ApprovedPatchesComplianceLevel: str, ApprovedPatchesEnableNonSecurity: bool, RejectedPatches: [str], RejectedPatchesAction: str, Description: str, Sources: [PatchSource], ClientToken: str, Tags: [Tag]}
@returns(200) {BaselineId: str?}

@endpoint POST /
@required {SyncName: str}
@optional {S3Destination: ResourceDataSyncS3Destination, SyncType: str, SyncSource: ResourceDataSyncSource}

@endpoint POST /
@required {ActivationId: str}

@endpoint POST /
@optional {Name: str, InstanceId: str, AssociationId: str}

@endpoint POST /
@required {Name: str}
@optional {DocumentVersion: str, VersionName: str, Force: bool}

@endpoint POST /
@required {TypeName: str}
@optional {SchemaDeleteOption: str, DryRun: bool, ClientToken: str}
@returns(200) {DeletionId: str?, TypeName: str?, DeletionSummary: InventoryDeletionSummary?{TotalCount: int?, RemainingCount: int?, SummaryItems: [InventoryDeletionSummaryItem]?}}

@endpoint POST /
@required {WindowId: str}
@returns(200) {WindowId: str?}

@endpoint POST /
@required {OpsItemId: str}

@endpoint POST /
@required {OpsMetadataArn: str}

@endpoint POST /
@required {Name: str}

@endpoint POST /
@required {Names: [str]}
@returns(200) {DeletedParameters: [str]?, InvalidParameters: [str]?}

@endpoint POST /
@required {BaselineId: str}
@returns(200) {BaselineId: str?}

@endpoint POST /
@required {SyncName: str}
@optional {SyncType: str}

@endpoint POST /
@required {ResourceArn: str, PolicyId: str, PolicyHash: str}

@endpoint POST /
@required {InstanceId: str}

@endpoint POST /
@required {BaselineId: str, PatchGroup: str}
@returns(200) {BaselineId: str?, PatchGroup: str?}

@endpoint POST /
@required {WindowId: str, WindowTargetId: str}
@optional {Safe: bool}
@returns(200) {WindowId: str?, WindowTargetId: str?}

@endpoint POST /
@required {WindowId: str, WindowTaskId: str}
@returns(200) {WindowId: str?, WindowTaskId: str?}

@endpoint POST /
@optional {Filters: [DescribeActivationsFilter], MaxResults: int, NextToken: str}
@returns(200) {ActivationList: [Activation]?, NextToken: str?}

@endpoint POST /
@optional {Name: str, InstanceId: str, AssociationId: str, AssociationVersion: str}
@returns(200) {AssociationDescription: AssociationDescription?{Name: str?, InstanceId: str?, AssociationVersion: str?, Date: str(timestamp)?, LastUpdateAssociationDate: str(timestamp)?, Status: AssociationStatus?{Date: str(timestamp), Name: str, Message: str, AdditionalInfo: str?}, Overview: AssociationOverview?{Status: str?, DetailedStatus: str?, AssociationStatusAggregatedCount: map<str,int>?}, DocumentVersion: str?, AutomationTargetParameterName: str?, Parameters: map<str,[str]>?, AssociationId: str?, Targets: [Target]?, ScheduleExpression: str?, OutputLocation: InstanceAssociationOutputLocation?{S3Location: S3OutputLocation?{OutputS3Region: str?, OutputS3BucketName: str?, OutputS3KeyPrefix: str?}}, LastExecutionDate: str(timestamp)?, LastSuccessfulExecutionDate: str(timestamp)?, AssociationName: str?, MaxErrors: str?, MaxConcurrency: str?, ComplianceSeverity: str?, SyncCompliance: str?, ApplyOnlyAtCronInterval: bool?, CalendarNames: [str]?, TargetLocations: [TargetLocation]?, ScheduleOffset: int?, Duration: int?, TargetMaps: [map<str,[str]>]?, AlarmConfiguration: AlarmConfiguration?{IgnorePollAlarmFailure: bool?, Alarms: [Alarm]}, TriggeredAlarms: [AlarmStateInformation]?}}

@endpoint POST /
@required {AssociationId: str, ExecutionId: str}
@optional {Filters: [AssociationExecutionTargetsFilter], MaxResults: int, NextToken: str}
@returns(200) {AssociationExecutionTargets: [AssociationExecutionTarget]?, NextToken: str?}

@endpoint POST /
@required {AssociationId: str}
@optional {Filters: [AssociationExecutionFilter], MaxResults: int, NextToken: str}
@returns(200) {AssociationExecutions: [AssociationExecution]?, NextToken: str?}

@endpoint POST /
@optional {Filters: [AutomationExecutionFilter], MaxResults: int, NextToken: str}
@returns(200) {AutomationExecutionMetadataList: [AutomationExecutionMetadata]?, NextToken: str?}

@endpoint POST /
@required {AutomationExecutionId: str}
@optional {Filters: [StepExecutionFilter], NextToken: str, MaxResults: int, ReverseOrder: bool}
@returns(200) {StepExecutions: [StepExecution]?, NextToken: str?}

@endpoint POST /
@optional {Filters: [PatchOrchestratorFilter], MaxResults: int, NextToken: str}
@returns(200) {Patches: [Patch]?, NextToken: str?}

@endpoint POST /
@required {Name: str}
@optional {DocumentVersion: str, VersionName: str}
@returns(200) {Document: DocumentDescription?{Sha1: str?, Hash: str?, HashType: str?, Name: str?, DisplayName: str?, VersionName: str?, Owner: str?, CreatedDate: str(timestamp)?, Status: str?, StatusInformation: str?, DocumentVersion: str?, Description: str?, Parameters: [DocumentParameter]?, PlatformTypes: [str]?, DocumentType: str?, SchemaVersion: str?, LatestVersion: str?, DefaultVersion: str?, DocumentFormat: str?, TargetType: str?, Tags: [Tag]?, AttachmentsInformation: [AttachmentInformation]?, Requires: [DocumentRequires]?, Author: str?, ReviewInformation: [ReviewInformation]?, ApprovedVersion: str?, PendingReviewVersion: str?, ReviewStatus: str?, Category: [str]?, CategoryEnum: [str]?}}

@endpoint POST /
@required {Name: str, PermissionType: str}
@optional {MaxResults: int, NextToken: str}
@returns(200) {AccountIds: [str]?, AccountSharingInfoList: [AccountSharingInfo]?, NextToken: str?}

@endpoint POST /
@required {InstanceId: str}
@optional {MaxResults: int, NextToken: str}
@returns(200) {Associations: [InstanceAssociation]?, NextToken: str?}

@endpoint POST /
@required {BaselineId: str}
@optional {MaxResults: int, NextToken: str}
@returns(200) {EffectivePatches: [EffectivePatch]?, NextToken: str?}

@endpoint POST /
@required {InstanceId: str}
@optional {MaxResults: int, NextToken: str}
@returns(200) {InstanceAssociationStatusInfos: [InstanceAssociationStatusInfo]?, NextToken: str?}

@endpoint POST /
@optional {InstanceInformationFilterList: [InstanceInformationFilter], Filters: [InstanceInformationStringFilter], MaxResults: int, NextToken: str}
@returns(200) {InstanceInformationList: [InstanceInformation]?, NextToken: str?}

@endpoint POST /
@required {InstanceIds: [str]}
@optional {NextToken: str, MaxResults: int}
@returns(200) {InstancePatchStates: [InstancePatchState]?, NextToken: str?}

@endpoint POST /
@required {PatchGroup: str}
@optional {Filters: [InstancePatchStateFilter], NextToken: str, MaxResults: int}
@returns(200) {InstancePatchStates: [InstancePatchState]?, NextToken: str?}

@endpoint POST /
@required {InstanceId: str}
@optional {Filters: [PatchOrchestratorFilter], NextToken: str, MaxResults: int}
@returns(200) {Patches: [PatchComplianceData]?, NextToken: str?}

@endpoint POST /
@optional {InstancePropertyFilterList: [InstancePropertyFilter], FiltersWithOperator: [InstancePropertyStringFilter], MaxResults: int, NextToken: str}
@returns(200) {InstanceProperties: [InstanceProperty]?, NextToken: str?}

@endpoint POST /
@optional {DeletionId: str, NextToken: str, MaxResults: int}
@returns(200) {InventoryDeletions: [InventoryDeletionStatusItem]?, NextToken: str?}

@endpoint POST /
@required {WindowExecutionId: str, TaskId: str}
@optional {Filters: [MaintenanceWindowFilter], MaxResults: int, NextToken: str}
@returns(200) {WindowExecutionTaskInvocationIdentities: [MaintenanceWindowExecutionTaskInvocationIdentity]?, NextToken: str?}

@endpoint POST /
@required {WindowExecutionId: str}
@optional {Filters: [MaintenanceWindowFilter], MaxResults: int, NextToken: str}
@returns(200) {WindowExecutionTaskIdentities: [MaintenanceWindowExecutionTaskIdentity]?, NextToken: str?}

@endpoint POST /
@required {WindowId: str}
@optional {Filters: [MaintenanceWindowFilter], MaxResults: int, NextToken: str}
@returns(200) {WindowExecutions: [MaintenanceWindowExecution]?, NextToken: str?}

@endpoint POST /
@optional {WindowId: str, Targets: [Target], ResourceType: str, Filters: [PatchOrchestratorFilter], MaxResults: int, NextToken: str}
@returns(200) {ScheduledWindowExecutions: [ScheduledWindowExecution]?, NextToken: str?}

@endpoint POST /
@required {WindowId: str}
@optional {Filters: [MaintenanceWindowFilter], MaxResults: int, NextToken: str}
@returns(200) {Targets: [MaintenanceWindowTarget]?, NextToken: str?}

@endpoint POST /
@required {WindowId: str}
@optional {Filters: [MaintenanceWindowFilter], MaxResults: int, NextToken: str}
@returns(200) {Tasks: [MaintenanceWindowTask]?, NextToken: str?}

@endpoint POST /
@optional {Filters: [MaintenanceWindowFilter], MaxResults: int, NextToken: str}
@returns(200) {WindowIdentities: [MaintenanceWindowIdentity]?, NextToken: str?}

@endpoint POST /
@required {Targets: [Target], ResourceType: str}
@optional {MaxResults: int, NextToken: str}
@returns(200) {WindowIdentities: [MaintenanceWindowIdentityForTarget]?, NextToken: str?}

@endpoint POST /
@optional {OpsItemFilters: [OpsItemFilter], MaxResults: int, NextToken: str}
@returns(200) {NextToken: str?, OpsItemSummaries: [OpsItemSummary]?}

@endpoint POST /
@optional {Filters: [ParametersFilter], ParameterFilters: [ParameterStringFilter], MaxResults: int, NextToken: str, Shared: bool}
@returns(200) {Parameters: [ParameterMetadata]?, NextToken: str?}

@endpoint POST /
@optional {Filters: [PatchOrchestratorFilter], MaxResults: int, NextToken: str}
@returns(200) {BaselineIdentities: [PatchBaselineIdentity]?, NextToken: str?}

@endpoint POST /
@required {PatchGroup: str}
@returns(200) {Instances: int?, InstancesWithInstalledPatches: int?, InstancesWithInstalledOtherPatches: int?, InstancesWithInstalledPendingRebootPatches: int?, InstancesWithInstalledRejectedPatches: int?, InstancesWithMissingPatches: int?, InstancesWithFailedPatches: int?, InstancesWithNotApplicablePatches: int?, InstancesWithUnreportedNotApplicablePatches: int?, InstancesWithCriticalNonCompliantPatches: int?, InstancesWithSecurityNonCompliantPatches: int?, InstancesWithOtherNonCompliantPatches: int?}

@endpoint POST /
@optional {MaxResults: int, Filters: [PatchOrchestratorFilter], NextToken: str}
@returns(200) {Mappings: [PatchGroupPatchBaselineMapping]?, NextToken: str?}

@endpoint POST /
@required {OperatingSystem: str, Property: str}
@optional {PatchSet: str, MaxResults: int, NextToken: str}
@returns(200) {Properties: [map<str,str>]?, NextToken: str?}

@endpoint POST /
@required {State: str}
@optional {MaxResults: int, NextToken: str, Filters: [SessionFilter]}
@returns(200) {Sessions: [Session]?, NextToken: str?}

@endpoint POST /
@required {OpsItemId: str, AssociationId: str}

@endpoint POST /
@required {AutomationExecutionId: str}
@returns(200) {AutomationExecution: AutomationExecution?{AutomationExecutionId: str?, DocumentName: str?, DocumentVersion: str?, ExecutionStartTime: str(timestamp)?, ExecutionEndTime: str(timestamp)?, AutomationExecutionStatus: str?, StepExecutions: [StepExecution]?, StepExecutionsTruncated: bool?, Parameters: map<str,[str]>?, Outputs: map<str,[str]>?, FailureMessage: str?, Mode: str?, ParentAutomationExecutionId: str?, ExecutedBy: str?, CurrentStepName: str?, CurrentAction: str?, TargetParameterName: str?, Targets: [Target]?, TargetMaps: [map<str,[str]>]?, ResolvedTargets: ResolvedTargets?{ParameterValues: [str]?, Truncated: bool?}, MaxConcurrency: str?, MaxErrors: str?, Target: str?, TargetLocations: [TargetLocation]?, ProgressCounters: ProgressCounters?{TotalSteps: int?, SuccessSteps: int?, FailedSteps: int?, CancelledSteps: int?, TimedOutSteps: int?}, AlarmConfiguration: AlarmConfiguration?{IgnorePollAlarmFailure: bool?, Alarms: [Alarm]}, TriggeredAlarms: [AlarmStateInformation]?, AutomationSubtype: str?, ScheduledTime: str(timestamp)?, Runbooks: [Runbook]?, OpsItemId: str?, AssociationId: str?, ChangeRequestName: str?, Variables: map<str,[str]>?}}

@endpoint POST /
@required {CalendarNames: [str]}
@optional {AtTime: str}
@returns(200) {State: str?, AtTime: str?, NextTransitionTime: str?}

@endpoint POST /
@required {CommandId: str, InstanceId: str}
@optional {PluginName: str}
@returns(200) {CommandId: str?, InstanceId: str?, Comment: str?, DocumentName: str?, DocumentVersion: str?, PluginName: str?, ResponseCode: int?, ExecutionStartDateTime: str?, ExecutionElapsedTime: str?, ExecutionEndDateTime: str?, Status: str?, StatusDetails: str?, StandardOutputContent: str?, StandardOutputUrl: str?, StandardErrorContent: str?, StandardErrorUrl: str?, CloudWatchOutputConfig: CloudWatchOutputConfig?{CloudWatchLogGroupName: str?, CloudWatchOutputEnabled: bool?}}

@endpoint POST /
@required {Target: str}
@returns(200) {Target: str?, Status: str?}

@endpoint POST /
@optional {OperatingSystem: str}
@returns(200) {BaselineId: str?, OperatingSystem: str?}

@endpoint POST /
@required {InstanceId: str, SnapshotId: str}
@optional {BaselineOverride: BaselineOverride}
@returns(200) {InstanceId: str?, SnapshotId: str?, SnapshotDownloadUrl: str?, Product: str?}

@endpoint POST /
@required {Name: str}
@optional {VersionName: str, DocumentVersion: str, DocumentFormat: str}
@returns(200) {Name: str?, CreatedDate: str(timestamp)?, DisplayName: str?, VersionName: str?, DocumentVersion: str?, Status: str?, StatusInformation: str?, Content: str?, DocumentType: str?, DocumentFormat: str?, Requires: [DocumentRequires]?, AttachmentsContent: [AttachmentContent]?, ReviewStatus: str?}

@endpoint POST /
@optional {Filters: [InventoryFilter], Aggregators: [InventoryAggregator], ResultAttributes: [ResultAttribute], NextToken: str, MaxResults: int}
@returns(200) {Entities: [InventoryResultEntity]?, NextToken: str?}

@endpoint POST /
@optional {TypeName: str, NextToken: str, MaxResults: int, Aggregator: bool, SubType: bool}
@returns(200) {Schemas: [InventoryItemSchema]?, NextToken: str?}

@endpoint POST /
@required {WindowId: str}
@returns(200) {WindowId: str?, Name: str?, Description: str?, StartDate: str?, EndDate: str?, Schedule: str?, ScheduleTimezone: str?, ScheduleOffset: int?, NextExecutionTime: str?, Duration: int?, Cutoff: int?, AllowUnassociatedTargets: bool?, Enabled: bool?, CreatedDate: str(timestamp)?, ModifiedDate: str(timestamp)?}

@endpoint POST /
@required {WindowExecutionId: str}
@returns(200) {WindowExecutionId: str?, TaskIds: [str]?, Status: str?, StatusDetails: str?, StartTime: str(timestamp)?, EndTime: str(timestamp)?}

@endpoint POST /
@required {WindowExecutionId: str, TaskId: str}
@returns(200) {WindowExecutionId: str?, TaskExecutionId: str?, TaskArn: str?, ServiceRole: str?, Type: str?, TaskParameters: [map<str,MaintenanceWindowTaskParameterValueExpression>]?, Priority: int?, MaxConcurrency: str?, MaxErrors: str?, Status: str?, StatusDetails: str?, StartTime: str(timestamp)?, EndTime: str(timestamp)?, AlarmConfiguration: AlarmConfiguration?{IgnorePollAlarmFailure: bool?, Alarms: [Alarm]}, TriggeredAlarms: [AlarmStateInformation]?}

@endpoint POST /
@required {WindowExecutionId: str, TaskId: str, InvocationId: str}
@returns(200) {WindowExecutionId: str?, TaskExecutionId: str?, InvocationId: str?, ExecutionId: str?, TaskType: str?, Parameters: str?, Status: str?, StatusDetails: str?, StartTime: str(timestamp)?, EndTime: str(timestamp)?, OwnerInformation: str?, WindowTargetId: str?}

@endpoint POST /
@required {WindowId: str, WindowTaskId: str}
@returns(200) {WindowId: str?, WindowTaskId: str?, Targets: [Target]?, TaskArn: str?, ServiceRoleArn: str?, TaskType: str?, TaskParameters: map<str,MaintenanceWindowTaskParameterValueExpression>?, TaskInvocationParameters: MaintenanceWindowTaskInvocationParameters?{RunCommand: MaintenanceWindowRunCommandParameters?{Comment: str?, CloudWatchOutputConfig: CloudWatchOutputConfig?{CloudWatchLogGroupName: str?, CloudWatchOutputEnabled: bool?}, DocumentHash: str?, DocumentHashType: str?, DocumentVersion: str?, NotificationConfig: NotificationConfig?{NotificationArn: str?, NotificationEvents: [str]?, NotificationType: str?}, OutputS3BucketName: str?, OutputS3KeyPrefix: str?, Parameters: map<str,[str]>?, ServiceRoleArn: str?, TimeoutSeconds: int?}, Automation: MaintenanceWindowAutomationParameters?{DocumentVersion: str?, Parameters: map<str,[str]>?}, StepFunctions: MaintenanceWindowStepFunctionsParameters?{Input: str?, Name: str?}, Lambda: MaintenanceWindowLambdaParameters?{ClientContext: str?, Qualifier: str?, Payload: bytes?}}, Priority: int?, MaxConcurrency: str?, MaxErrors: str?, LoggingInfo: LoggingInfo?{S3BucketName: str, S3KeyPrefix: str?, S3Region: str}, Name: str?, Description: str?, CutoffBehavior: str?, AlarmConfiguration: AlarmConfiguration?{IgnorePollAlarmFailure: bool?, Alarms: [Alarm]}}

@endpoint POST /
@required {OpsItemId: str}
@optional {OpsItemArn: str}
@returns(200) {OpsItem: OpsItem?{CreatedBy: str?, OpsItemType: str?, CreatedTime: str(timestamp)?, Description: str?, LastModifiedBy: str?, LastModifiedTime: str(timestamp)?, Notifications: [OpsItemNotification]?, Priority: int?, RelatedOpsItems: [RelatedOpsItem]?, Status: str?, OpsItemId: str?, Version: str?, Title: str?, Source: str?, OperationalData: map<str,OpsItemDataValue>?, Category: str?, Severity: str?, ActualStartTime: str(timestamp)?, ActualEndTime: str(timestamp)?, PlannedStartTime: str(timestamp)?, PlannedEndTime: str(timestamp)?, OpsItemArn: str?}}

@endpoint POST /
@required {OpsMetadataArn: str}
@optional {MaxResults: int, NextToken: str}
@returns(200) {ResourceId: str?, Metadata: map<str,MetadataValue>?, NextToken: str?}

@endpoint POST /
@optional {SyncName: str, Filters: [OpsFilter], Aggregators: [OpsAggregator], ResultAttributes: [OpsResultAttribute], NextToken: str, MaxResults: int}
@returns(200) {Entities: [OpsEntity]?, NextToken: str?}

@endpoint POST /
@required {Name: str}
@optional {WithDecryption: bool}
@returns(200) {Parameter: Parameter?{Name: str?, Type: str?, Value: str?, Version: int(i64)?, Selector: str?, SourceResult: str?, LastModifiedDate: str(timestamp)?, ARN: str?, DataType: str?}}

@endpoint POST /
@required {Name: str}
@optional {WithDecryption: bool, MaxResults: int, NextToken: str}
@returns(200) {Parameters: [ParameterHistory]?, NextToken: str?}

@endpoint POST /
@required {Names: [str]}
@optional {WithDecryption: bool}
@returns(200) {Parameters: [Parameter]?, InvalidParameters: [str]?}

@endpoint POST /
@required {Path: str}
@optional {Recursive: bool, ParameterFilters: [ParameterStringFilter], WithDecryption: bool, MaxResults: int, NextToken: str}
@returns(200) {Parameters: [Parameter]?, NextToken: str?}

@endpoint POST /
@required {BaselineId: str}
@returns(200) {BaselineId: str?, Name: str?, OperatingSystem: str?, GlobalFilters: PatchFilterGroup?{PatchFilters: [PatchFilter]}, ApprovalRules: PatchRuleGroup?{PatchRules: [PatchRule]}, ApprovedPatches: [str]?, ApprovedPatchesComplianceLevel: str?, ApprovedPatchesEnableNonSecurity: bool?, RejectedPatches: [str]?, RejectedPatchesAction: str?, PatchGroups: [str]?, CreatedDate: str(timestamp)?, ModifiedDate: str(timestamp)?, Description: str?, Sources: [PatchSource]?}

@endpoint POST /
@required {PatchGroup: str}
@optional {OperatingSystem: str}
@returns(200) {BaselineId: str?, PatchGroup: str?, OperatingSystem: str?}

@endpoint POST /
@required {ResourceArn: str}
@optional {NextToken: str, MaxResults: int}
@returns(200) {NextToken: str?, Policies: [GetResourcePoliciesResponseEntry]?}

@endpoint POST /
@required {SettingId: str}
@returns(200) {ServiceSetting: ServiceSetting?{SettingId: str?, SettingValue: str?, LastModifiedDate: str(timestamp)?, LastModifiedUser: str?, ARN: str?, Status: str?}}

@endpoint POST /
@required {Name: str, Labels: [str]}
@optional {ParameterVersion: int(i64)}
@returns(200) {InvalidLabels: [str]?, ParameterVersion: int(i64)?}

@endpoint POST /
@required {AssociationId: str}
@optional {MaxResults: int, NextToken: str}
@returns(200) {AssociationVersions: [AssociationVersionInfo]?, NextToken: str?}

@endpoint POST /
@optional {AssociationFilterList: [AssociationFilter], MaxResults: int, NextToken: str}
@returns(200) {Associations: [Association]?, NextToken: str?}

@endpoint POST /
@optional {CommandId: str, InstanceId: str, MaxResults: int, NextToken: str, Filters: [CommandFilter], Details: bool}
@returns(200) {CommandInvocations: [CommandInvocation]?, NextToken: str?}

@endpoint POST /
@optional {CommandId: str, InstanceId: str, MaxResults: int, NextToken: str, Filters: [CommandFilter]}
@returns(200) {Commands: [Command]?, NextToken: str?}

@endpoint POST /
@optional {Filters: [ComplianceStringFilter], ResourceIds: [str], ResourceTypes: [str], NextToken: str, MaxResults: int}
@returns(200) {ComplianceItems: [ComplianceItem]?, NextToken: str?}

@endpoint POST /
@optional {Filters: [ComplianceStringFilter], NextToken: str, MaxResults: int}
@returns(200) {ComplianceSummaryItems: [ComplianceSummaryItem]?, NextToken: str?}

@endpoint POST /
@required {Name: str, Metadata: str}
@optional {DocumentVersion: str, NextToken: str, MaxResults: int}
@returns(200) {Name: str?, DocumentVersion: str?, Author: str?, Metadata: DocumentMetadataResponseInfo?{ReviewerResponse: [DocumentReviewerResponseSource]?}, NextToken: str?}

@endpoint POST /
@required {Name: str}
@optional {MaxResults: int, NextToken: str}
@returns(200) {DocumentVersions: [DocumentVersionInfo]?, NextToken: str?}

@endpoint POST /
@optional {DocumentFilterList: [DocumentFilter], Filters: [DocumentKeyValuesFilter], MaxResults: int, NextToken: str}
@returns(200) {DocumentIdentifiers: [DocumentIdentifier]?, NextToken: str?}

@endpoint POST /
@required {InstanceId: str, TypeName: str}
@optional {Filters: [InventoryFilter], NextToken: str, MaxResults: int}
@returns(200) {TypeName: str?, InstanceId: str?, SchemaVersion: str?, CaptureTime: str?, Entries: [map<str,str>]?, NextToken: str?}

@endpoint POST /
@optional {Filters: [OpsItemEventFilter], MaxResults: int, NextToken: str}
@returns(200) {NextToken: str?, Summaries: [OpsItemEventSummary]?}

@endpoint POST /
@optional {OpsItemId: str, Filters: [OpsItemRelatedItemsFilter], MaxResults: int, NextToken: str}
@returns(200) {NextToken: str?, Summaries: [OpsItemRelatedItemSummary]?}

@endpoint POST /
@optional {Filters: [OpsMetadataFilter], MaxResults: int, NextToken: str}
@returns(200) {OpsMetadataList: [OpsMetadata]?, NextToken: str?}

@endpoint POST /
@optional {Filters: [ComplianceStringFilter], NextToken: str, MaxResults: int}
@returns(200) {ResourceComplianceSummaryItems: [ResourceComplianceSummaryItem]?, NextToken: str?}

@endpoint POST /
@optional {SyncType: str, NextToken: str, MaxResults: int}
@returns(200) {ResourceDataSyncItems: [ResourceDataSyncItem]?, NextToken: str?}

@endpoint POST /
@required {ResourceType: str, ResourceId: str}
@returns(200) {TagList: [Tag]?}

@endpoint POST /
@required {Name: str, PermissionType: str}
@optional {AccountIdsToAdd: [str], AccountIdsToRemove: [str], SharedDocumentVersion: str}

@endpoint POST /
@required {ResourceId: str, ResourceType: str, ComplianceType: str, ExecutionSummary: ComplianceExecutionSummary, Items: [ComplianceItemEntry]}
@optional {ItemContentHash: str, UploadType: str}

@endpoint POST /
@required {InstanceId: str, Items: [InventoryItem]}
@returns(200) {Message: str?}

@endpoint POST /
@required {Name: str, Value: str}
@optional {Description: str, Type: str, KeyId: str, Overwrite: bool, AllowedPattern: str, Tags: [Tag], Tier: str, Policies: str, DataType: str}
@returns(200) {Version: int(i64)?, Tier: str?}

@endpoint POST /
@required {ResourceArn: str, Policy: str}
@optional {PolicyId: str, PolicyHash: str}
@returns(200) {PolicyId: str?, PolicyHash: str?}

@endpoint POST /
@required {BaselineId: str}
@returns(200) {BaselineId: str?}

@endpoint POST /
@required {BaselineId: str, PatchGroup: str}
@returns(200) {BaselineId: str?, PatchGroup: str?}

@endpoint POST /
@required {WindowId: str, ResourceType: str, Targets: [Target]}
@optional {OwnerInformation: str, Name: str, Description: str, ClientToken: str}
@returns(200) {WindowTargetId: str?}

@endpoint POST /
@required {WindowId: str, TaskArn: str, TaskType: str}
@optional {Targets: [Target], ServiceRoleArn: str, TaskParameters: map<str,MaintenanceWindowTaskParameterValueExpression>, TaskInvocationParameters: MaintenanceWindowTaskInvocationParameters, Priority: int, MaxConcurrency: str, MaxErrors: str, LoggingInfo: LoggingInfo, Name: str, Description: str, ClientToken: str, CutoffBehavior: str, AlarmConfiguration: AlarmConfiguration}
@returns(200) {WindowTaskId: str?}

@endpoint POST /
@required {ResourceType: str, ResourceId: str, TagKeys: [str]}

@endpoint POST /
@required {SettingId: str}
@returns(200) {ServiceSetting: ServiceSetting?{SettingId: str?, SettingValue: str?, LastModifiedDate: str(timestamp)?, LastModifiedUser: str?, ARN: str?, Status: str?}}

@endpoint POST /
@required {SessionId: str}
@returns(200) {SessionId: str?, TokenValue: str?, StreamUrl: str?}

@endpoint POST /
@required {AutomationExecutionId: str, SignalType: str}
@optional {Payload: map<str,[str]>}

@endpoint POST /
@required {DocumentName: str}
@optional {InstanceIds: [str], Targets: [Target], DocumentVersion: str, DocumentHash: str, DocumentHashType: str, TimeoutSeconds: int, Comment: str, Parameters: map<str,[str]>, OutputS3Region: str, OutputS3BucketName: str, OutputS3KeyPrefix: str, MaxConcurrency: str, MaxErrors: str, ServiceRoleArn: str, NotificationConfig: NotificationConfig, CloudWatchOutputConfig: CloudWatchOutputConfig, AlarmConfiguration: AlarmConfiguration}
@returns(200) {Command: Command?{CommandId: str?, DocumentName: str?, DocumentVersion: str?, Comment: str?, ExpiresAfter: str(timestamp)?, Parameters: map<str,[str]>?, InstanceIds: [str]?, Targets: [Target]?, RequestedDateTime: str(timestamp)?, Status: str?, StatusDetails: str?, OutputS3Region: str?, OutputS3BucketName: str?, OutputS3KeyPrefix: str?, MaxConcurrency: str?, MaxErrors: str?, TargetCount: int?, CompletedCount: int?, ErrorCount: int?, DeliveryTimedOutCount: int?, ServiceRole: str?, NotificationConfig: NotificationConfig?{NotificationArn: str?, NotificationEvents: [str]?, NotificationType: str?}, CloudWatchOutputConfig: CloudWatchOutputConfig?{CloudWatchLogGroupName: str?, CloudWatchOutputEnabled: bool?}, TimeoutSeconds: int?, AlarmConfiguration: AlarmConfiguration?{IgnorePollAlarmFailure: bool?, Alarms: [Alarm]}, TriggeredAlarms: [AlarmStateInformation]?}}

@endpoint POST /
@required {AssociationIds: [str]}

@endpoint POST /
@required {DocumentName: str}
@optional {DocumentVersion: str, Parameters: map<str,[str]>, ClientToken: str, Mode: str, TargetParameterName: str, Targets: [Target], TargetMaps: [map<str,[str]>], MaxConcurrency: str, MaxErrors: str, TargetLocations: [TargetLocation], Tags: [Tag], AlarmConfiguration: AlarmConfiguration}
@returns(200) {AutomationExecutionId: str?}

@endpoint POST /
@required {DocumentName: str, Runbooks: [Runbook]}
@optional {ScheduledTime: str(timestamp), DocumentVersion: str, Parameters: map<str,[str]>, ChangeRequestName: str, ClientToken: str, AutoApprove: bool, Tags: [Tag], ScheduledEndTime: str(timestamp), ChangeDetails: str}
@returns(200) {AutomationExecutionId: str?}

@endpoint POST /
@required {Target: str}
@optional {DocumentName: str, Reason: str, Parameters: map<str,[str]>}
@returns(200) {SessionId: str?, TokenValue: str?, StreamUrl: str?}

@endpoint POST /
@required {AutomationExecutionId: str}
@optional {Type: str}

@endpoint POST /
@required {SessionId: str}
@returns(200) {SessionId: str?}

@endpoint POST /
@required {Name: str, ParameterVersion: int(i64), Labels: [str]}
@returns(200) {RemovedLabels: [str]?, InvalidLabels: [str]?}

@endpoint POST /
@required {AssociationId: str}
@optional {Parameters: map<str,[str]>, DocumentVersion: str, ScheduleExpression: str, OutputLocation: InstanceAssociationOutputLocation, Name: str, Targets: [Target], AssociationName: str, AssociationVersion: str, AutomationTargetParameterName: str, MaxErrors: str, MaxConcurrency: str, ComplianceSeverity: str, SyncCompliance: str, ApplyOnlyAtCronInterval: bool, CalendarNames: [str], TargetLocations: [TargetLocation], ScheduleOffset: int, Duration: int, TargetMaps: [map<str,[str]>], AlarmConfiguration: AlarmConfiguration}
@returns(200) {AssociationDescription: AssociationDescription?{Name: str?, InstanceId: str?, AssociationVersion: str?, Date: str(timestamp)?, LastUpdateAssociationDate: str(timestamp)?, Status: AssociationStatus?{Date: str(timestamp), Name: str, Message: str, AdditionalInfo: str?}, Overview: AssociationOverview?{Status: str?, DetailedStatus: str?, AssociationStatusAggregatedCount: map<str,int>?}, DocumentVersion: str?, AutomationTargetParameterName: str?, Parameters: map<str,[str]>?, AssociationId: str?, Targets: [Target]?, ScheduleExpression: str?, OutputLocation: InstanceAssociationOutputLocation?{S3Location: S3OutputLocation?{OutputS3Region: str?, OutputS3BucketName: str?, OutputS3KeyPrefix: str?}}, LastExecutionDate: str(timestamp)?, LastSuccessfulExecutionDate: str(timestamp)?, AssociationName: str?, MaxErrors: str?, MaxConcurrency: str?, ComplianceSeverity: str?, SyncCompliance: str?, ApplyOnlyAtCronInterval: bool?, CalendarNames: [str]?, TargetLocations: [TargetLocation]?, ScheduleOffset: int?, Duration: int?, TargetMaps: [map<str,[str]>]?, AlarmConfiguration: AlarmConfiguration?{IgnorePollAlarmFailure: bool?, Alarms: [Alarm]}, TriggeredAlarms: [AlarmStateInformation]?}}

@endpoint POST /
@required {Name: str, InstanceId: str, AssociationStatus: AssociationStatus}
@returns(200) {AssociationDescription: AssociationDescription?{Name: str?, InstanceId: str?, AssociationVersion: str?, Date: str(timestamp)?, LastUpdateAssociationDate: str(timestamp)?, Status: AssociationStatus?{Date: str(timestamp), Name: str, Message: str, AdditionalInfo: str?}, Overview: AssociationOverview?{Status: str?, DetailedStatus: str?, AssociationStatusAggregatedCount: map<str,int>?}, DocumentVersion: str?, AutomationTargetParameterName: str?, Parameters: map<str,[str]>?, AssociationId: str?, Targets: [Target]?, ScheduleExpression: str?, OutputLocation: InstanceAssociationOutputLocation?{S3Location: S3OutputLocation?{OutputS3Region: str?, OutputS3BucketName: str?, OutputS3KeyPrefix: str?}}, LastExecutionDate: str(timestamp)?, LastSuccessfulExecutionDate: str(timestamp)?, AssociationName: str?, MaxErrors: str?, MaxConcurrency: str?, ComplianceSeverity: str?, SyncCompliance: str?, ApplyOnlyAtCronInterval: bool?, CalendarNames: [str]?, TargetLocations: [TargetLocation]?, ScheduleOffset: int?, Duration: int?, TargetMaps: [map<str,[str]>]?, AlarmConfiguration: AlarmConfiguration?{IgnorePollAlarmFailure: bool?, Alarms: [Alarm]}, TriggeredAlarms: [AlarmStateInformation]?}}

@endpoint POST /
@required {Content: str, Name: str}
@optional {Attachments: [AttachmentsSource], DisplayName: str, VersionName: str, DocumentVersion: str, DocumentFormat: str, TargetType: str}
@returns(200) {DocumentDescription: DocumentDescription?{Sha1: str?, Hash: str?, HashType: str?, Name: str?, DisplayName: str?, VersionName: str?, Owner: str?, CreatedDate: str(timestamp)?, Status: str?, StatusInformation: str?, DocumentVersion: str?, Description: str?, Parameters: [DocumentParameter]?, PlatformTypes: [str]?, DocumentType: str?, SchemaVersion: str?, LatestVersion: str?, DefaultVersion: str?, DocumentFormat: str?, TargetType: str?, Tags: [Tag]?, AttachmentsInformation: [AttachmentInformation]?, Requires: [DocumentRequires]?, Author: str?, ReviewInformation: [ReviewInformation]?, ApprovedVersion: str?, PendingReviewVersion: str?, ReviewStatus: str?, Category: [str]?, CategoryEnum: [str]?}}

@endpoint POST /
@required {Name: str, DocumentVersion: str}
@returns(200) {Description: DocumentDefaultVersionDescription?{Name: str?, DefaultVersion: str?, DefaultVersionName: str?}}

@endpoint POST /
@required {Name: str, DocumentReviews: DocumentReviews}
@optional {DocumentVersion: str}

@endpoint POST /
@required {WindowId: str}
@optional {Name: str, Description: str, StartDate: str, EndDate: str, Schedule: str, ScheduleTimezone: str, ScheduleOffset: int, Duration: int, Cutoff: int, AllowUnassociatedTargets: bool, Enabled: bool, Replace: bool}
@returns(200) {WindowId: str?, Name: str?, Description: str?, StartDate: str?, EndDate: str?, Schedule: str?, ScheduleTimezone: str?, ScheduleOffset: int?, Duration: int?, Cutoff: int?, AllowUnassociatedTargets: bool?, Enabled: bool?}

@endpoint POST /
@required {WindowId: str, WindowTargetId: str}
@optional {Targets: [Target], OwnerInformation: str, Name: str, Description: str, Replace: bool}
@returns(200) {WindowId: str?, WindowTargetId: str?, Targets: [Target]?, OwnerInformation: str?, Name: str?, Description: str?}

@endpoint POST /
@required {WindowId: str, WindowTaskId: str}
@optional {Targets: [Target], TaskArn: str, ServiceRoleArn: str, TaskParameters: map<str,MaintenanceWindowTaskParameterValueExpression>, TaskInvocationParameters: MaintenanceWindowTaskInvocationParameters, Priority: int, MaxConcurrency: str, MaxErrors: str, LoggingInfo: LoggingInfo, Name: str, Description: str, Replace: bool, CutoffBehavior: str, AlarmConfiguration: AlarmConfiguration}
@returns(200) {WindowId: str?, WindowTaskId: str?, Targets: [Target]?, TaskArn: str?, ServiceRoleArn: str?, TaskParameters: map<str,MaintenanceWindowTaskParameterValueExpression>?, TaskInvocationParameters: MaintenanceWindowTaskInvocationParameters?{RunCommand: MaintenanceWindowRunCommandParameters?{Comment: str?, CloudWatchOutputConfig: CloudWatchOutputConfig?{CloudWatchLogGroupName: str?, CloudWatchOutputEnabled: bool?}, DocumentHash: str?, DocumentHashType: str?, DocumentVersion: str?, NotificationConfig: NotificationConfig?{NotificationArn: str?, NotificationEvents: [str]?, NotificationType: str?}, OutputS3BucketName: str?, OutputS3KeyPrefix: str?, Parameters: map<str,[str]>?, ServiceRoleArn: str?, TimeoutSeconds: int?}, Automation: MaintenanceWindowAutomationParameters?{DocumentVersion: str?, Parameters: map<str,[str]>?}, StepFunctions: MaintenanceWindowStepFunctionsParameters?{Input: str?, Name: str?}, Lambda: MaintenanceWindowLambdaParameters?{ClientContext: str?, Qualifier: str?, Payload: bytes?}}, Priority: int?, MaxConcurrency: str?, MaxErrors: str?, LoggingInfo: LoggingInfo?{S3BucketName: str, S3KeyPrefix: str?, S3Region: str}, Name: str?, Description: str?, CutoffBehavior: str?, AlarmConfiguration: AlarmConfiguration?{IgnorePollAlarmFailure: bool?, Alarms: [Alarm]}}

@endpoint POST /
@required {InstanceId: str, IamRole: str}

@endpoint POST /
@required {OpsItemId: str}
@optional {Description: str, OperationalData: map<str,OpsItemDataValue>, OperationalDataToDelete: [str], Notifications: [OpsItemNotification], Priority: int, RelatedOpsItems: [RelatedOpsItem], Status: str, Title: str, Category: str, Severity: str, ActualStartTime: str(timestamp), ActualEndTime: str(timestamp), PlannedStartTime: str(timestamp), PlannedEndTime: str(timestamp), OpsItemArn: str}

@endpoint POST /
@required {OpsMetadataArn: str}
@optional {MetadataToUpdate: map<str,MetadataValue>, KeysToDelete: [str]}
@returns(200) {OpsMetadataArn: str?}

@endpoint POST /
@required {BaselineId: str}
@optional {Name: str, GlobalFilters: PatchFilterGroup, ApprovalRules: PatchRuleGroup, ApprovedPatches: [str], ApprovedPatchesComplianceLevel: str, ApprovedPatchesEnableNonSecurity: bool, RejectedPatches: [str], RejectedPatchesAction: str, Description: str, Sources: [PatchSource], Replace: bool}
@returns(200) {BaselineId: str?, Name: str?, OperatingSystem: str?, GlobalFilters: PatchFilterGroup?{PatchFilters: [PatchFilter]}, ApprovalRules: PatchRuleGroup?{PatchRules: [PatchRule]}, ApprovedPatches: [str]?, ApprovedPatchesComplianceLevel: str?, ApprovedPatchesEnableNonSecurity: bool?, RejectedPatches: [str]?, RejectedPatchesAction: str?, CreatedDate: str(timestamp)?, ModifiedDate: str(timestamp)?, Description: str?, Sources: [PatchSource]?}

@endpoint POST /
@required {SyncName: str, SyncType: str, SyncSource: ResourceDataSyncSource}

@endpoint POST /
@required {SettingId: str, SettingValue: str}

@end
