update_consent_portal¶
Operation¶
update_consent_portal
¶
update_consent_portal(request: UpdateConsentPortalInput | UpdateConsentPortalInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateConsentPortalInputDict]) -> UpdateConsentPortalOutput
Updates an existing consent portal.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
UpdateConsentPortalInput | UpdateConsentPortalInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[UpdateConsentPortalInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateConsentPortalOutput
|
An instance of |
update_consent_portal
async
¶
update_consent_portal(request: UpdateConsentPortalInput | UpdateConsentPortalInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateConsentPortalInputDict]) -> UpdateConsentPortalOutput
Updates an existing consent portal.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
UpdateConsentPortalInput | UpdateConsentPortalInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[UpdateConsentPortalInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateConsentPortalOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
UpdateConsentPortalInputDict
¶
Bases: TypedDict
Dictionary form of UpdateConsentPortalInput.
Attributes¶
consent_portal_identifier
instance-attribute
¶
The identifier of the consent portal. You can specify either the consent portal ID or its Amazon Resource Name (ARN).
execution_role_arn
instance-attribute
¶
execution_role_arn: str | None
The Amazon Resource Name (ARN) of the IAM role that the consent portal assumes to access the resources defined in its sources.
idp_config
instance-attribute
¶
idp_config: ConsentPortalIdpConfig | ConsentPortalIdpConfigDict | None
The identity provider configuration that the consent portal uses to authenticate end users.
UpdateConsentPortalInput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateConsentPortalInput structure.
Attributes¶
consent_portal_identifier
class-attribute
instance-attribute
¶
consent_portal_identifier: str | None = ...
The identifier of the consent portal. You can specify either the consent portal ID or its Amazon Resource Name (ARN).
description
class-attribute
instance-attribute
¶
description: str | None = ...
The description of the consent portal.
execution_role_arn
class-attribute
instance-attribute
¶
execution_role_arn: str | None = ...
The Amazon Resource Name (ARN) of the IAM role that the consent portal assumes to access the resources defined in its sources.
idp_config
class-attribute
instance-attribute
¶
idp_config: ConsentPortalIdpConfig | None = ...
The identity provider configuration that the consent portal uses to authenticate end users.
Output¶
UpdateConsentPortalOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateConsentPortalOutput structure.
Attributes¶
consent_portal_arn
instance-attribute
¶
consent_portal_arn: str
The Amazon Resource Name (ARN) of the consent portal.
consent_portal_id
instance-attribute
¶
consent_portal_id: str
The unique identifier of the consent portal.
created_at
instance-attribute
¶
created_at: datetime
The timestamp for when the consent portal was created.
description
class-attribute
instance-attribute
¶
description: str | None = ...
The description of the consent portal.
execution_role_arn
instance-attribute
¶
execution_role_arn: str
The Amazon Resource Name (ARN) of the IAM role that the consent portal assumes to access the resources defined in its sources.
idp_config
instance-attribute
¶
idp_config: ConsentPortalIdpConfig
The identity provider configuration that the consent portal uses to authenticate end users.
portal_url
class-attribute
instance-attribute
¶
portal_url: str | None = ...
The URL used to access the consent portal.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.
sources
instance-attribute
¶
sources: list[ConsentPortalSource]
The resources served by the consent portal.