class
Amazonite::Ssm::ModifyDocumentPermissionRequest
- Amazonite::Ssm::ModifyDocumentPermissionRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
ssm/modify_document_permission_request.crConstructors
- .new(name : String, permission_type : DocumentPermissionType, account_ids_to_add : Array(String) | Nil = nil, account_ids_to_remove : Array(String) | Nil = nil, shared_document_version : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#account_ids_to_add : Array(String) | Nil
The Amazon Web Services users that should have access to the document.
-
#account_ids_to_add=(account_ids_to_add : Array(String) | Nil)
The Amazon Web Services users that should have access to the document.
-
#account_ids_to_remove : Array(String) | Nil
The Amazon Web Services users that should no longer have access to the document.
-
#account_ids_to_remove=(account_ids_to_remove : Array(String) | Nil)
The Amazon Web Services users that should no longer have access to the document.
-
#hash(hasher)
See
Object#hash(hasher) -
#name : String
The name of the document that you want to share.
-
#name=(name : String)
The name of the document that you want to share.
-
#permission_type : DocumentPermissionType
The permission type for the document.
-
#permission_type=(permission_type : DocumentPermissionType)
The permission type for the document.
-
#shared_document_version : String | Nil
(Optional) The version of the document to share.
-
#shared_document_version=(shared_document_version : String | Nil)
(Optional) The version of the document to share.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The Amazon Web Services users that should have access to the document. The account IDs can
either be a group of account IDs or All. You must specify a value for this parameter or the
AccountIdsToRemove parameter.
The Amazon Web Services users that should have access to the document. The account IDs can
either be a group of account IDs or All. You must specify a value for this parameter or the
AccountIdsToRemove parameter.
The Amazon Web Services users that should no longer have access to the document. The Amazon Web
Services user can either be a group of account IDs or All. This action has a higher priority
than AccountIdsToAdd. If you specify an ID to add and the same ID to remove, the system
removes access to the document. You must specify a value for this parameter or the
AccountIdsToAdd parameter.
The Amazon Web Services users that should no longer have access to the document. The Amazon Web
Services user can either be a group of account IDs or All. This action has a higher priority
than AccountIdsToAdd. If you specify an ID to add and the same ID to remove, the system
removes access to the document. You must specify a value for this parameter or the
AccountIdsToAdd parameter.
The permission type for the document. The permission type can be Share.
The permission type for the document. The permission type can be Share.