Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Modifies some of the properties of the specified resource share.
Synopsis
- data UpdateResourceShare = UpdateResourceShare' {}
- newUpdateResourceShare :: Text -> UpdateResourceShare
- updateResourceShare_allowExternalPrincipals :: Lens' UpdateResourceShare (Maybe Bool)
- updateResourceShare_clientToken :: Lens' UpdateResourceShare (Maybe Text)
- 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.
UpdateResourceShare' | |
|
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:
UpdateResourceShare
, updateResourceShare_allowExternalPrincipals
- Specifies whether principals outside your organization in Organizations
can be associated with a resource share.
UpdateResourceShare
, updateResourceShare_clientToken
- Specifies a unique, case-sensitive identifier that you provide to ensure
the idempotency of the request. This lets you safely retry the request
without accidentally performing the same operation a second time.
Passing the same value to a later call to an operation requires that you
also pass the same value for all other parameters. We recommend that you
use a
UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
UpdateResourceShare
, updateResourceShare_name
- If specified, the new name that you want to attach to the resource
share.
UpdateResourceShare
, updateResourceShare_resourceShareArn
- Specifies the
Amazon Resoure Name (ARN)
of the resource share that you want to modify.
Request Lenses
updateResourceShare_allowExternalPrincipals :: Lens' UpdateResourceShare (Maybe Bool) Source #
Specifies whether principals outside your organization in Organizations can be associated with a resource share.
updateResourceShare_clientToken :: Lens' UpdateResourceShare (Maybe Text) Source #
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
updateResourceShare_name :: Lens' UpdateResourceShare (Maybe Text) Source #
If specified, the new name that you want to attach to the resource share.
updateResourceShare_resourceShareArn :: Lens' UpdateResourceShare Text Source #
Specifies the Amazon Resoure Name (ARN) of the resource share that you want to modify.
Destructuring the Response
data UpdateResourceShareResponse Source #
See: newUpdateResourceShareResponse
smart constructor.
UpdateResourceShareResponse' | |
|
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:
UpdateResourceShare
, updateResourceShareResponse_clientToken
- The idempotency identifier associated with this request. If you want to
repeat the same operation in an idempotent manner then you must include
this value in the clientToken
request parameter of that later call.
All other parameters must also have the same values that you used in the
first call.
$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 #
The idempotency identifier associated with this request. If you want to
repeat the same operation in an idempotent manner then you must include
this value in the clientToken
request parameter of that later call.
All other parameters must also have the same values that you used in the
first call.
updateResourceShareResponse_resourceShare :: Lens' UpdateResourceShareResponse (Maybe ResourceShare) Source #
Information about the resource share.
updateResourceShareResponse_httpStatus :: Lens' UpdateResourceShareResponse Int Source #
The response's http status code.