| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.RAM.UpdateResourceShare
Description
Updates the specified resource share that you own.
Synopsis
- data UpdateResourceShare = UpdateResourceShare' {}
- newUpdateResourceShare :: Text -> UpdateResourceShare
- updateResourceShare_clientToken :: Lens' UpdateResourceShare (Maybe Text)
- updateResourceShare_allowExternalPrincipals :: Lens' UpdateResourceShare (Maybe Bool)
- updateResourceShare_name :: Lens' UpdateResourceShare (Maybe Text)
- updateResourceShare_resourceShareArn :: Lens' UpdateResourceShare Text
- data UpdateResourceShareResponse = UpdateResourceShareResponse' {}
- newUpdateResourceShareResponse :: Int -> UpdateResourceShareResponse
- updateResourceShareResponse_clientToken :: Lens' UpdateResourceShareResponse (Maybe Text)
- updateResourceShareResponse_resourceShare :: Lens' UpdateResourceShareResponse (Maybe ResourceShare)
- updateResourceShareResponse_httpStatus :: Lens' UpdateResourceShareResponse Int
Creating a Request
data UpdateResourceShare Source #
See: newUpdateResourceShare smart constructor.
Constructors
| UpdateResourceShare' | |
Fields
| |
Instances
newUpdateResourceShare Source #
Create a value of UpdateResourceShare with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientToken:UpdateResourceShare', updateResourceShare_clientToken - A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:allowExternalPrincipals:UpdateResourceShare', updateResourceShare_allowExternalPrincipals - Indicates whether principals outside your organization in Organizations
can be associated with a resource share.
$sel:name:UpdateResourceShare', updateResourceShare_name - The name of the resource share.
$sel:resourceShareArn:UpdateResourceShare', updateResourceShare_resourceShareArn - The Amazon Resource Name (ARN) of the resource share.
Request Lenses
updateResourceShare_clientToken :: Lens' UpdateResourceShare (Maybe Text) Source #
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
updateResourceShare_allowExternalPrincipals :: Lens' UpdateResourceShare (Maybe Bool) Source #
Indicates whether principals outside your organization in Organizations can be associated with a resource share.
updateResourceShare_name :: Lens' UpdateResourceShare (Maybe Text) Source #
The name of the resource share.
updateResourceShare_resourceShareArn :: Lens' UpdateResourceShare Text Source #
The Amazon Resource Name (ARN) of the resource share.
Destructuring the Response
data UpdateResourceShareResponse Source #
See: newUpdateResourceShareResponse smart constructor.
Constructors
| UpdateResourceShareResponse' | |
Fields
| |
Instances
newUpdateResourceShareResponse Source #
Create a value of UpdateResourceShareResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientToken:UpdateResourceShare', updateResourceShareResponse_clientToken - A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:resourceShare:UpdateResourceShareResponse', updateResourceShareResponse_resourceShare - Information about the resource share.
$sel:httpStatus:UpdateResourceShareResponse', updateResourceShareResponse_httpStatus - The response's http status code.
Response Lenses
updateResourceShareResponse_clientToken :: Lens' UpdateResourceShareResponse (Maybe Text) Source #
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
updateResourceShareResponse_resourceShare :: Lens' UpdateResourceShareResponse (Maybe ResourceShare) Source #
Information about the resource share.
updateResourceShareResponse_httpStatus :: Lens' UpdateResourceShareResponse Int Source #
The response's http status code.