{ "opencollection": "1.0.0", "info": { "name": "AWS IoT Accept Certificate Transfer Policies API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Policies", "type": "folder" }, "items": [ { "info": { "name": "Amazon IoT Core Get Policy", "type": "http" }, "http": { "method": "GET", "url": "http://iot.{region}.amazonaws.com/policies/:policyName", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "policyName", "value": "", "type": "path", "description": "The name of the policy." } ] }, "docs": "

Gets information about the specified policy with the policy document of the default version.

Requires permission to access the GetPolicy action.

" }, { "info": { "name": "Amazon IoT Core Create Policy", "type": "http" }, "http": { "method": "POST", "url": "http://iot.{region}.amazonaws.com/policies/:policyName", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "policyName", "value": "", "type": "path", "description": "The policy name." } ], "body": { "type": "json", "data": "{}" } }, "docs": "

Creates an IoT policy.

The created policy is the default version for the policy. This operation creates a policy version with a version identifier of 1 and sets 1 as the policy's default version.

Requires permission to access the CreatePolicy action.

" }, { "info": { "name": "Amazon IoT Core Delete Policy", "type": "http" }, "http": { "method": "DELETE", "url": "http://iot.{region}.amazonaws.com/policies/:policyName", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "policyName", "value": "", "type": "path", "description": "The name of the policy to delete." } ] }, "docs": "

Deletes the specified policy.

A policy cannot be deleted if it has non-default versions or it is attached to any certificate.

To delete a policy, use the DeletePolicyVersion action to delete all non-default versions of the policy; use the DetachPolicy action to detach the policy from any certificate; and then use the DeletePolicy action to delete the policy.

When a policy is deleted using DeletePolicy, its default version is deleted with it.

Be" }, { "info": { "name": "Amazon IoT Core List Policy Versions", "type": "http" }, "http": { "method": "GET", "url": "http://iot.{region}.amazonaws.com/policies/:policyName/version", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "policyName", "value": "", "type": "path", "description": "The policy name." } ] }, "docs": "

Lists the versions of the specified policy and identifies the default version.

Requires permission to access the ListPolicyVersions action.

" }, { "info": { "name": "Amazon IoT Core Create Policy Version", "type": "http" }, "http": { "method": "POST", "url": "http://iot.{region}.amazonaws.com/policies/:policyName/version", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "policyName", "value": "", "type": "path", "description": "The policy name." }, { "name": "setAsDefault", "value": "", "type": "query", "description": "Specifies whether the policy version is set as the default. When this parameter is true, the new policy version becomes the operative version (that is, the version that is in effect for the certificates to which the policy is attached)." } ], "body": { "type": "json", "data": "{}" } }, "docs": "

Creates a new version of the specified IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to delete an existing version before you create a new one.

Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached)" }, { "info": { "name": "Amazon IoT Core Get Policy Version", "type": "http" }, "http": { "method": "GET", "url": "http://iot.{region}.amazonaws.com/policies/:policyName/version/:policyVersionId", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "policyName", "value": "", "type": "path", "description": "The name of the policy." }, { "name": "policyVersionId", "value": "", "type": "path", "description": "The policy version ID." } ] }, "docs": "

Gets information about the specified policy version.

Requires permission to access the GetPolicyVersion action.

" }, { "info": { "name": "Amazon IoT Core Set Default Policy Version", "type": "http" }, "http": { "method": "PATCH", "url": "http://iot.{region}.amazonaws.com/policies/:policyName/version/:policyVersionId", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "policyName", "value": "", "type": "path", "description": "The policy name." }, { "name": "policyVersionId", "value": "", "type": "path", "description": "The policy version ID." } ] }, "docs": "

Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates to which the policy is attached. To list the principals the policy is attached to, use the ListPrincipalPolicies action.

Requires permission to access the SetDefaultPolicyVersion action.

" }, { "info": { "name": "Amazon IoT Core Delete Policy Version", "type": "http" }, "http": { "method": "DELETE", "url": "http://iot.{region}.amazonaws.com/policies/:policyName/version/:policyVersionId", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "policyName", "value": "", "type": "path", "description": "The name of the policy." }, { "name": "policyVersionId", "value": "", "type": "path", "description": "The policy version ID." } ] }, "docs": "

Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this action. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.

Requires permission to access the DeletePolicyVersion action.

" }, { "info": { "name": "Amazon IoT Core List Policies", "type": "http" }, "http": { "method": "GET", "url": "http://iot.{region}.amazonaws.com/policies", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "marker", "value": "", "type": "query", "description": "The marker for the next set of results." }, { "name": "pageSize", "value": "", "type": "query", "description": "The result page size." }, { "name": "isAscendingOrder", "value": "", "type": "query", "description": "Specifies the order for results. If true, the results are returned in ascending creation order." } ] }, "docs": "

Lists your policies.

Requires permission to access the ListPolicies action.

" } ] } ], "bundled": true }