mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-08 22:30:41 +00:00
Update Go AWS SDK to the latest version
This commit is contained in:
committed by
Andrey Smirnov
parent
d08be990ef
commit
94a72b23ff
+444
@@ -0,0 +1,444 @@
|
||||
{
|
||||
"version":"2.0",
|
||||
"metadata":{
|
||||
"apiVersion":"2018-01-12",
|
||||
"endpointPrefix":"dlm",
|
||||
"jsonVersion":"1.1",
|
||||
"protocol":"rest-json",
|
||||
"serviceAbbreviation":"Amazon DLM",
|
||||
"serviceFullName":"Amazon Data Lifecycle Manager",
|
||||
"serviceId":"DLM",
|
||||
"signatureVersion":"v4",
|
||||
"signingName":"dlm",
|
||||
"uid":"dlm-2018-01-12"
|
||||
},
|
||||
"operations":{
|
||||
"CreateLifecyclePolicy":{
|
||||
"name":"CreateLifecyclePolicy",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/policies"
|
||||
},
|
||||
"input":{"shape":"CreateLifecyclePolicyRequest"},
|
||||
"output":{"shape":"CreateLifecyclePolicyResponse"},
|
||||
"errors":[
|
||||
{"shape":"InvalidRequestException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"InternalServerException"}
|
||||
]
|
||||
},
|
||||
"DeleteLifecyclePolicy":{
|
||||
"name":"DeleteLifecyclePolicy",
|
||||
"http":{
|
||||
"method":"DELETE",
|
||||
"requestUri":"/policies/{policyId}/"
|
||||
},
|
||||
"input":{"shape":"DeleteLifecyclePolicyRequest"},
|
||||
"output":{"shape":"DeleteLifecyclePolicyResponse"},
|
||||
"errors":[
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"InternalServerException"},
|
||||
{"shape":"LimitExceededException"}
|
||||
]
|
||||
},
|
||||
"GetLifecyclePolicies":{
|
||||
"name":"GetLifecyclePolicies",
|
||||
"http":{
|
||||
"method":"GET",
|
||||
"requestUri":"/policies"
|
||||
},
|
||||
"input":{"shape":"GetLifecyclePoliciesRequest"},
|
||||
"output":{"shape":"GetLifecyclePoliciesResponse"},
|
||||
"errors":[
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"InvalidRequestException"},
|
||||
{"shape":"InternalServerException"},
|
||||
{"shape":"LimitExceededException"}
|
||||
]
|
||||
},
|
||||
"GetLifecyclePolicy":{
|
||||
"name":"GetLifecyclePolicy",
|
||||
"http":{
|
||||
"method":"GET",
|
||||
"requestUri":"/policies/{policyId}/"
|
||||
},
|
||||
"input":{"shape":"GetLifecyclePolicyRequest"},
|
||||
"output":{"shape":"GetLifecyclePolicyResponse"},
|
||||
"errors":[
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"InternalServerException"},
|
||||
{"shape":"LimitExceededException"}
|
||||
]
|
||||
},
|
||||
"UpdateLifecyclePolicy":{
|
||||
"name":"UpdateLifecyclePolicy",
|
||||
"http":{
|
||||
"method":"PATCH",
|
||||
"requestUri":"/policies/{policyId}"
|
||||
},
|
||||
"input":{"shape":"UpdateLifecyclePolicyRequest"},
|
||||
"output":{"shape":"UpdateLifecyclePolicyResponse"},
|
||||
"errors":[
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"InvalidRequestException"},
|
||||
{"shape":"InternalServerException"},
|
||||
{"shape":"LimitExceededException"}
|
||||
]
|
||||
}
|
||||
},
|
||||
"shapes":{
|
||||
"CopyTags":{"type":"boolean"},
|
||||
"Count":{
|
||||
"type":"integer",
|
||||
"max":1000,
|
||||
"min":1
|
||||
},
|
||||
"CreateLifecyclePolicyRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"ExecutionRoleArn",
|
||||
"Description",
|
||||
"State",
|
||||
"PolicyDetails"
|
||||
],
|
||||
"members":{
|
||||
"ExecutionRoleArn":{"shape":"ExecutionRoleArn"},
|
||||
"Description":{"shape":"PolicyDescription"},
|
||||
"State":{"shape":"SettablePolicyStateValues"},
|
||||
"PolicyDetails":{"shape":"PolicyDetails"}
|
||||
}
|
||||
},
|
||||
"CreateLifecyclePolicyResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"PolicyId":{"shape":"PolicyId"}
|
||||
}
|
||||
},
|
||||
"CreateRule":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Interval",
|
||||
"IntervalUnit"
|
||||
],
|
||||
"members":{
|
||||
"Interval":{"shape":"Interval"},
|
||||
"IntervalUnit":{"shape":"IntervalUnitValues"},
|
||||
"Times":{"shape":"TimesList"}
|
||||
}
|
||||
},
|
||||
"DeleteLifecyclePolicyRequest":{
|
||||
"type":"structure",
|
||||
"required":["PolicyId"],
|
||||
"members":{
|
||||
"PolicyId":{
|
||||
"shape":"PolicyId",
|
||||
"location":"uri",
|
||||
"locationName":"policyId"
|
||||
}
|
||||
}
|
||||
},
|
||||
"DeleteLifecyclePolicyResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"ErrorCode":{"type":"string"},
|
||||
"ErrorMessage":{"type":"string"},
|
||||
"ExcludeBootVolume":{"type":"boolean"},
|
||||
"ExecutionRoleArn":{"type":"string"},
|
||||
"GetLifecyclePoliciesRequest":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"PolicyIds":{
|
||||
"shape":"PolicyIdList",
|
||||
"location":"querystring",
|
||||
"locationName":"policyIds"
|
||||
},
|
||||
"State":{
|
||||
"shape":"GettablePolicyStateValues",
|
||||
"location":"querystring",
|
||||
"locationName":"state"
|
||||
},
|
||||
"ResourceTypes":{
|
||||
"shape":"ResourceTypeValuesList",
|
||||
"location":"querystring",
|
||||
"locationName":"resourceTypes"
|
||||
},
|
||||
"TargetTags":{
|
||||
"shape":"TargetTagsFilterList",
|
||||
"location":"querystring",
|
||||
"locationName":"targetTags"
|
||||
},
|
||||
"TagsToAdd":{
|
||||
"shape":"TagsToAddFilterList",
|
||||
"location":"querystring",
|
||||
"locationName":"tagsToAdd"
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetLifecyclePoliciesResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Policies":{"shape":"LifecyclePolicySummaryList"}
|
||||
}
|
||||
},
|
||||
"GetLifecyclePolicyRequest":{
|
||||
"type":"structure",
|
||||
"required":["PolicyId"],
|
||||
"members":{
|
||||
"PolicyId":{
|
||||
"shape":"PolicyId",
|
||||
"location":"uri",
|
||||
"locationName":"policyId"
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetLifecyclePolicyResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Policy":{"shape":"LifecyclePolicy"}
|
||||
}
|
||||
},
|
||||
"GettablePolicyStateValues":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"ENABLED",
|
||||
"DISABLED",
|
||||
"ERROR"
|
||||
]
|
||||
},
|
||||
"InternalServerException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"ErrorMessage"},
|
||||
"Code":{"shape":"ErrorCode"}
|
||||
},
|
||||
"error":{"httpStatusCode":500},
|
||||
"exception":true
|
||||
},
|
||||
"Interval":{
|
||||
"type":"integer",
|
||||
"min":1
|
||||
},
|
||||
"IntervalUnitValues":{
|
||||
"type":"string",
|
||||
"enum":["HOURS"]
|
||||
},
|
||||
"InvalidRequestException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"ErrorMessage"},
|
||||
"Code":{"shape":"ErrorCode"},
|
||||
"RequiredParameters":{"shape":"ParameterList"},
|
||||
"MutuallyExclusiveParameters":{"shape":"ParameterList"}
|
||||
},
|
||||
"error":{"httpStatusCode":400},
|
||||
"exception":true
|
||||
},
|
||||
"LifecyclePolicy":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"PolicyId":{"shape":"PolicyId"},
|
||||
"Description":{"shape":"PolicyDescription"},
|
||||
"State":{"shape":"GettablePolicyStateValues"},
|
||||
"ExecutionRoleArn":{"shape":"ExecutionRoleArn"},
|
||||
"DateCreated":{"shape":"Timestamp"},
|
||||
"DateModified":{"shape":"Timestamp"},
|
||||
"PolicyDetails":{"shape":"PolicyDetails"}
|
||||
}
|
||||
},
|
||||
"LifecyclePolicySummary":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"PolicyId":{"shape":"PolicyId"},
|
||||
"Description":{"shape":"PolicyDescription"},
|
||||
"State":{"shape":"GettablePolicyStateValues"}
|
||||
}
|
||||
},
|
||||
"LifecyclePolicySummaryList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"LifecyclePolicySummary"}
|
||||
},
|
||||
"LimitExceededException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"ErrorMessage"},
|
||||
"Code":{"shape":"ErrorCode"},
|
||||
"ResourceType":{"shape":"String"}
|
||||
},
|
||||
"error":{"httpStatusCode":429},
|
||||
"exception":true
|
||||
},
|
||||
"Parameter":{"type":"string"},
|
||||
"ParameterList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"Parameter"}
|
||||
},
|
||||
"Parameters":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ExcludeBootVolume":{"shape":"ExcludeBootVolume"}
|
||||
}
|
||||
},
|
||||
"PolicyDescription":{
|
||||
"type":"string",
|
||||
"max":500,
|
||||
"min":0
|
||||
},
|
||||
"PolicyDetails":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"PolicyType":{"shape":"PolicyTypeValues"},
|
||||
"ResourceTypes":{"shape":"ResourceTypeValuesList"},
|
||||
"TargetTags":{"shape":"TargetTagList"},
|
||||
"Schedules":{"shape":"ScheduleList"},
|
||||
"Parameters":{"shape":"Parameters"}
|
||||
}
|
||||
},
|
||||
"PolicyId":{"type":"string"},
|
||||
"PolicyIdList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"PolicyId"}
|
||||
},
|
||||
"PolicyTypeValues":{
|
||||
"type":"string",
|
||||
"enum":["EBS_SNAPSHOT_MANAGEMENT"]
|
||||
},
|
||||
"ResourceNotFoundException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"ErrorMessage"},
|
||||
"Code":{"shape":"ErrorCode"},
|
||||
"ResourceType":{"shape":"String"},
|
||||
"ResourceIds":{"shape":"PolicyIdList"}
|
||||
},
|
||||
"error":{"httpStatusCode":404},
|
||||
"exception":true
|
||||
},
|
||||
"ResourceTypeValues":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"VOLUME",
|
||||
"INSTANCE"
|
||||
]
|
||||
},
|
||||
"ResourceTypeValuesList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ResourceTypeValues"},
|
||||
"max":1,
|
||||
"min":1
|
||||
},
|
||||
"RetainRule":{
|
||||
"type":"structure",
|
||||
"required":["Count"],
|
||||
"members":{
|
||||
"Count":{"shape":"Count"}
|
||||
}
|
||||
},
|
||||
"Schedule":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Name":{"shape":"ScheduleName"},
|
||||
"CopyTags":{"shape":"CopyTags"},
|
||||
"TagsToAdd":{"shape":"TagsToAddList"},
|
||||
"VariableTags":{"shape":"VariableTagsList"},
|
||||
"CreateRule":{"shape":"CreateRule"},
|
||||
"RetainRule":{"shape":"RetainRule"}
|
||||
}
|
||||
},
|
||||
"ScheduleList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"Schedule"},
|
||||
"max":1,
|
||||
"min":1
|
||||
},
|
||||
"ScheduleName":{
|
||||
"type":"string",
|
||||
"max":500,
|
||||
"min":0
|
||||
},
|
||||
"SettablePolicyStateValues":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"ENABLED",
|
||||
"DISABLED"
|
||||
]
|
||||
},
|
||||
"String":{"type":"string"},
|
||||
"Tag":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Key",
|
||||
"Value"
|
||||
],
|
||||
"members":{
|
||||
"Key":{"shape":"String"},
|
||||
"Value":{"shape":"String"}
|
||||
}
|
||||
},
|
||||
"TagFilter":{"type":"string"},
|
||||
"TagsToAddFilterList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"TagFilter"},
|
||||
"max":50,
|
||||
"min":0
|
||||
},
|
||||
"TagsToAddList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"Tag"},
|
||||
"max":50,
|
||||
"min":0
|
||||
},
|
||||
"TargetTagList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"Tag"},
|
||||
"max":50,
|
||||
"min":1
|
||||
},
|
||||
"TargetTagsFilterList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"TagFilter"},
|
||||
"max":50,
|
||||
"min":1
|
||||
},
|
||||
"Time":{
|
||||
"type":"string",
|
||||
"pattern":"^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$"
|
||||
},
|
||||
"TimesList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"Time"},
|
||||
"max":1
|
||||
},
|
||||
"Timestamp":{
|
||||
"type":"timestamp",
|
||||
"timestampFormat":"iso8601"
|
||||
},
|
||||
"UpdateLifecyclePolicyRequest":{
|
||||
"type":"structure",
|
||||
"required":["PolicyId"],
|
||||
"members":{
|
||||
"PolicyId":{
|
||||
"shape":"PolicyId",
|
||||
"location":"uri",
|
||||
"locationName":"policyId"
|
||||
},
|
||||
"ExecutionRoleArn":{"shape":"ExecutionRoleArn"},
|
||||
"State":{"shape":"SettablePolicyStateValues"},
|
||||
"Description":{"shape":"PolicyDescription"},
|
||||
"PolicyDetails":{"shape":"PolicyDetails"}
|
||||
}
|
||||
},
|
||||
"UpdateLifecyclePolicyResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"VariableTagsList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"Tag"},
|
||||
"max":50,
|
||||
"min":0
|
||||
}
|
||||
}
|
||||
}
|
||||
+349
@@ -0,0 +1,349 @@
|
||||
{
|
||||
"version": "2.0",
|
||||
"service": "<fullname>Amazon Data Lifecycle Manager</fullname> <p>With Amazon Data Lifecycle Manager, you can manage the lifecycle of your AWS resources. You create lifecycle policies, which are used to automate operations on the specified resources.</p> <p>Amazon DLM supports Amazon EBS volumes and snapshots. For information about using Amazon DLM with Amazon EBS, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-lifecycle.html\">Automating the Amazon EBS Snapshot Lifecycle</a> in the <i>Amazon EC2 User Guide</i>.</p>",
|
||||
"operations": {
|
||||
"CreateLifecyclePolicy": "<p>Creates a policy to manage the lifecycle of the specified AWS resources. You can create up to 100 lifecycle policies.</p>",
|
||||
"DeleteLifecyclePolicy": "<p>Deletes the specified lifecycle policy and halts the automated operations that the policy specified.</p>",
|
||||
"GetLifecyclePolicies": "<p>Gets summary information about all or the specified data lifecycle policies.</p> <p>To get complete information about a policy, use <a>GetLifecyclePolicy</a>.</p>",
|
||||
"GetLifecyclePolicy": "<p>Gets detailed information about the specified lifecycle policy.</p>",
|
||||
"UpdateLifecyclePolicy": "<p>Updates the specified lifecycle policy.</p>"
|
||||
},
|
||||
"shapes": {
|
||||
"CopyTags": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Schedule$CopyTags": "<p>Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.</p>"
|
||||
}
|
||||
},
|
||||
"Count": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"RetainRule$Count": "<p>The number of snapshots to keep for each volume, up to a maximum of 1000.</p>"
|
||||
}
|
||||
},
|
||||
"CreateLifecyclePolicyRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateLifecyclePolicyResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateRule": {
|
||||
"base": "<p>Specifies when to create snapshots of EBS volumes.</p>",
|
||||
"refs": {
|
||||
"Schedule$CreateRule": "<p>The create rule.</p>"
|
||||
}
|
||||
},
|
||||
"DeleteLifecyclePolicyRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteLifecyclePolicyResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ErrorCode": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"InternalServerException$Code": null,
|
||||
"InvalidRequestException$Code": null,
|
||||
"LimitExceededException$Code": null,
|
||||
"ResourceNotFoundException$Code": null
|
||||
}
|
||||
},
|
||||
"ErrorMessage": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"InternalServerException$Message": null,
|
||||
"InvalidRequestException$Message": null,
|
||||
"LimitExceededException$Message": null,
|
||||
"ResourceNotFoundException$Message": null
|
||||
}
|
||||
},
|
||||
"ExcludeBootVolume": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Parameters$ExcludeBootVolume": "<p>When executing an EBS Snapshot Management – Instance policy, execute all CreateSnapshots calls with the <code>excludeBootVolume</code> set to the supplied field. Defaults to false. Only valid for EBS Snapshot Management – Instance policies.</p>"
|
||||
}
|
||||
},
|
||||
"ExecutionRoleArn": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateLifecyclePolicyRequest$ExecutionRoleArn": "<p>The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.</p>",
|
||||
"LifecyclePolicy$ExecutionRoleArn": "<p>The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.</p>",
|
||||
"UpdateLifecyclePolicyRequest$ExecutionRoleArn": "<p>The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.</p>"
|
||||
}
|
||||
},
|
||||
"GetLifecyclePoliciesRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetLifecyclePoliciesResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetLifecyclePolicyRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetLifecyclePolicyResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GettablePolicyStateValues": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GetLifecyclePoliciesRequest$State": "<p>The activation state.</p>",
|
||||
"LifecyclePolicy$State": "<p>The activation state of the lifecycle policy.</p>",
|
||||
"LifecyclePolicySummary$State": "<p>The activation state of the lifecycle policy.</p>"
|
||||
}
|
||||
},
|
||||
"InternalServerException": {
|
||||
"base": "<p>The service failed in an unexpected way.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"Interval": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateRule$Interval": "<p>The interval between snapshots. The supported values are 2, 3, 4, 6, 8, 12, and 24.</p>"
|
||||
}
|
||||
},
|
||||
"IntervalUnitValues": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateRule$IntervalUnit": "<p>The interval unit.</p>"
|
||||
}
|
||||
},
|
||||
"InvalidRequestException": {
|
||||
"base": "<p>Bad request. The request is missing required parameters or has invalid parameters.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"LifecyclePolicy": {
|
||||
"base": "<p>Detailed information about a lifecycle policy.</p>",
|
||||
"refs": {
|
||||
"GetLifecyclePolicyResponse$Policy": "<p>Detailed information about the lifecycle policy.</p>"
|
||||
}
|
||||
},
|
||||
"LifecyclePolicySummary": {
|
||||
"base": "<p>Summary information about a lifecycle policy.</p>",
|
||||
"refs": {
|
||||
"LifecyclePolicySummaryList$member": null
|
||||
}
|
||||
},
|
||||
"LifecyclePolicySummaryList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GetLifecyclePoliciesResponse$Policies": "<p>Summary information about the lifecycle policies.</p>"
|
||||
}
|
||||
},
|
||||
"LimitExceededException": {
|
||||
"base": "<p>The request failed because a limit was exceeded.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"Parameter": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ParameterList$member": null
|
||||
}
|
||||
},
|
||||
"ParameterList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"InvalidRequestException$RequiredParameters": "<p>The request omitted one or more required parameters.</p>",
|
||||
"InvalidRequestException$MutuallyExclusiveParameters": "<p>The request included parameters that cannot be provided together.</p>"
|
||||
}
|
||||
},
|
||||
"Parameters": {
|
||||
"base": "<p>Optional parameters that can be added to the policy. The set of valid parameters depends on the combination of <code>policyType</code> and <code>resourceType</code> values.</p>",
|
||||
"refs": {
|
||||
"PolicyDetails$Parameters": "<p>A set of optional parameters that can be provided by the policy. </p>"
|
||||
}
|
||||
},
|
||||
"PolicyDescription": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateLifecyclePolicyRequest$Description": "<p>A description of the lifecycle policy. The characters ^[0-9A-Za-z _-]+$ are supported.</p>",
|
||||
"LifecyclePolicy$Description": "<p>The description of the lifecycle policy.</p>",
|
||||
"LifecyclePolicySummary$Description": "<p>The description of the lifecycle policy.</p>",
|
||||
"UpdateLifecyclePolicyRequest$Description": "<p>A description of the lifecycle policy.</p>"
|
||||
}
|
||||
},
|
||||
"PolicyDetails": {
|
||||
"base": "<p>Specifies the configuration of a lifecycle policy.</p>",
|
||||
"refs": {
|
||||
"CreateLifecyclePolicyRequest$PolicyDetails": "<p>The configuration details of the lifecycle policy.</p> <p>Target tags cannot be re-used across lifecycle policies.</p>",
|
||||
"LifecyclePolicy$PolicyDetails": "<p>The configuration of the lifecycle policy</p>",
|
||||
"UpdateLifecyclePolicyRequest$PolicyDetails": "<p>The configuration of the lifecycle policy.</p> <p>Target tags cannot be re-used across policies.</p>"
|
||||
}
|
||||
},
|
||||
"PolicyId": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateLifecyclePolicyResponse$PolicyId": "<p>The identifier of the lifecycle policy.</p>",
|
||||
"DeleteLifecyclePolicyRequest$PolicyId": "<p>The identifier of the lifecycle policy.</p>",
|
||||
"GetLifecyclePolicyRequest$PolicyId": "<p>The identifier of the lifecycle policy.</p>",
|
||||
"LifecyclePolicy$PolicyId": "<p>The identifier of the lifecycle policy.</p>",
|
||||
"LifecyclePolicySummary$PolicyId": "<p>The identifier of the lifecycle policy.</p>",
|
||||
"PolicyIdList$member": null,
|
||||
"UpdateLifecyclePolicyRequest$PolicyId": "<p>The identifier of the lifecycle policy.</p>"
|
||||
}
|
||||
},
|
||||
"PolicyIdList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GetLifecyclePoliciesRequest$PolicyIds": "<p>The identifiers of the data lifecycle policies.</p>",
|
||||
"ResourceNotFoundException$ResourceIds": "<p>Value is a list of resource IDs that were not found.</p>"
|
||||
}
|
||||
},
|
||||
"PolicyTypeValues": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"PolicyDetails$PolicyType": "<p>This field determines the valid target resource types and actions a policy can manage. This field defaults to EBS_SNAPSHOT_MANAGEMENT if not present.</p>"
|
||||
}
|
||||
},
|
||||
"ResourceNotFoundException": {
|
||||
"base": "<p>A requested resource was not found.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ResourceTypeValues": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ResourceTypeValuesList$member": null
|
||||
}
|
||||
},
|
||||
"ResourceTypeValuesList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GetLifecyclePoliciesRequest$ResourceTypes": "<p>The resource type.</p>",
|
||||
"PolicyDetails$ResourceTypes": "<p>The resource type.</p>"
|
||||
}
|
||||
},
|
||||
"RetainRule": {
|
||||
"base": "<p>Specifies the number of snapshots to keep for each EBS volume.</p>",
|
||||
"refs": {
|
||||
"Schedule$RetainRule": "<p>The retain rule.</p>"
|
||||
}
|
||||
},
|
||||
"Schedule": {
|
||||
"base": "<p>Specifies a schedule.</p>",
|
||||
"refs": {
|
||||
"ScheduleList$member": null
|
||||
}
|
||||
},
|
||||
"ScheduleList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"PolicyDetails$Schedules": "<p>The schedule of policy-defined actions.</p>"
|
||||
}
|
||||
},
|
||||
"ScheduleName": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Schedule$Name": "<p>The name of the schedule.</p>"
|
||||
}
|
||||
},
|
||||
"SettablePolicyStateValues": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateLifecyclePolicyRequest$State": "<p>The desired activation state of the lifecycle policy after creation.</p>",
|
||||
"UpdateLifecyclePolicyRequest$State": "<p>The desired activation state of the lifecycle policy after creation.</p>"
|
||||
}
|
||||
},
|
||||
"String": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"LimitExceededException$ResourceType": "<p>Value is the type of resource for which a limit was exceeded.</p>",
|
||||
"ResourceNotFoundException$ResourceType": "<p>Value is the type of resource that was not found.</p>",
|
||||
"Tag$Key": "<p>The tag key.</p>",
|
||||
"Tag$Value": "<p>The tag value.</p>"
|
||||
}
|
||||
},
|
||||
"Tag": {
|
||||
"base": "<p>Specifies a tag for a resource.</p>",
|
||||
"refs": {
|
||||
"TagsToAddList$member": null,
|
||||
"TargetTagList$member": null,
|
||||
"VariableTagsList$member": null
|
||||
}
|
||||
},
|
||||
"TagFilter": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"TagsToAddFilterList$member": null,
|
||||
"TargetTagsFilterList$member": null
|
||||
}
|
||||
},
|
||||
"TagsToAddFilterList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GetLifecyclePoliciesRequest$TagsToAdd": "<p>The tags to add to objects created by the policy.</p> <p>Tags are strings in the format <code>key=value</code>.</p> <p>These user-defined tags are added in addition to the AWS-added lifecycle tags.</p>"
|
||||
}
|
||||
},
|
||||
"TagsToAddList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Schedule$TagsToAdd": "<p>The tags to apply to policy-created resources. These user-defined tags are in addition to the AWS-added lifecycle tags.</p>"
|
||||
}
|
||||
},
|
||||
"TargetTagList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"PolicyDetails$TargetTags": "<p>The single tag that identifies targeted resources for this policy.</p>"
|
||||
}
|
||||
},
|
||||
"TargetTagsFilterList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GetLifecyclePoliciesRequest$TargetTags": "<p>The target tag for a policy.</p> <p>Tags are strings in the format <code>key=value</code>.</p>"
|
||||
}
|
||||
},
|
||||
"Time": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"TimesList$member": null
|
||||
}
|
||||
},
|
||||
"TimesList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateRule$Times": "<p>The time, in UTC, to start the operation. The supported format is hh:mm.</p> <p>The operation occurs within a one-hour window following the specified time.</p>"
|
||||
}
|
||||
},
|
||||
"Timestamp": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"LifecyclePolicy$DateCreated": "<p>The local date and time when the lifecycle policy was created.</p>",
|
||||
"LifecyclePolicy$DateModified": "<p>The local date and time when the lifecycle policy was last modified.</p>"
|
||||
}
|
||||
},
|
||||
"UpdateLifecyclePolicyRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateLifecyclePolicyResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"VariableTagsList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Schedule$VariableTags": "<p>A collection of key/value pairs with values determined dynamically when the policy is executed. Keys may be any valid Amazon EC2 tag key. Values must be in one of the two following formats: <code>$(instance-id)</code> or <code>$(timestamp)</code>. Variable tags are only valid for EBS Snapshot Management – Instance policies.</p>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"pagination": {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user