We announced the upcoming end-of-support for AWS SDK for JavaScript v2.
We recommend that you migrate to AWS SDK for JavaScript v3. For dates, additional details, and information on how to migrate, please refer to the linked announcement.

Class: AWS.Repostspace

Inherits:
AWS.Service show all
Identifier:
repostspace
API Version:
2022-05-13
Defined in:
(unknown)

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Service Description

AWS re:Post Private is a private version of AWS re:Post for enterprises with Enterprise Support or Enterprise On-Ramp Support plans. It provides access to knowledge and experts to accelerate cloud adoption and increase developer productivity. With your organization-specific private re:Post, you can build an organization-specific developer community that drives efficiencies at scale and provides access to valuable knowledge resources. Additionally, re:Post Private centralizes trusted AWS technical content and offers private discussion forums to improve how your teams collaborate internally and with AWS to remove technical obstacles, accelerate innovation, and scale more efficiently in the cloud.

Sending a Request Using Repostspace

var repostspace = new AWS.Repostspace();
repostspace.createSpace(params, function (err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Locking the API Version

In order to ensure that the Repostspace object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var repostspace = new AWS.Repostspace({apiVersion: '2022-05-13'});

You can also set the API version globally in AWS.config.apiVersions using the repostspace service identifier:

AWS.config.apiVersions = {
  repostspace: '2022-05-13',
  // other service API versions
};

var repostspace = new AWS.Repostspace();

Version:

  • 2022-05-13

Constructor Summary collapse

Property Summary collapse

Properties inherited from AWS.Service

apiVersions

Method Summary collapse

Methods inherited from AWS.Service

makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService

Constructor Details

new AWS.Repostspace(options = {}) ⇒ Object

Constructs a service object. This object has one method for each API operation.

Examples:

Constructing a Repostspace object

var repostspace = new AWS.Repostspace({apiVersion: '2022-05-13'});

Options Hash (options):

  • params (map)

    An optional map of parameters to bind to every request sent by this service object. For more information on bound parameters, see "Working with Services" in the Getting Started Guide.

  • endpoint (String|AWS.Endpoint)

    The endpoint URI to send requests to. The default endpoint is built from the configured region. The endpoint should be a string like 'https://{service}.{region}.amazonaws.com' or an Endpoint object.

  • accessKeyId (String)

    your AWS access key ID.

  • secretAccessKey (String)

    your AWS secret access key.

  • sessionToken (AWS.Credentials)

    the optional AWS session token to sign requests with.

  • credentials (AWS.Credentials)

    the AWS credentials to sign requests with. You can either specify this object, or specify the accessKeyId and secretAccessKey options directly.

  • credentialProvider (AWS.CredentialProviderChain)

    the provider chain used to resolve credentials if no static credentials property is set.

  • region (String)

    the region to send service requests to. See AWS.Repostspace.region for more information.

  • maxRetries (Integer)

    the maximum amount of retries to attempt with a request. See AWS.Repostspace.maxRetries for more information.

  • maxRedirects (Integer)

    the maximum amount of redirects to follow with a request. See AWS.Repostspace.maxRedirects for more information.

  • sslEnabled (Boolean)

    whether to enable SSL for requests.

  • paramValidation (Boolean|map)

    whether input parameters should be validated against the operation description before sending the request. Defaults to true. Pass a map to enable any of the following specific validation features:

    • min [Boolean] — Validates that a value meets the min constraint. This is enabled by default when paramValidation is set to true.
    • max [Boolean] — Validates that a value meets the max constraint.
    • pattern [Boolean] — Validates that a string value matches a regular expression.
    • enum [Boolean] — Validates that a string value matches one of the allowable enum values.
  • computeChecksums (Boolean)

    whether to compute checksums for payload bodies when the service accepts it (currently supported in S3 only)

  • convertResponseTypes (Boolean)

    whether types are converted when parsing response data. Currently only supported for JSON based services. Turning this off may improve performance on large response payloads. Defaults to true.

  • correctClockSkew (Boolean)

    whether to apply a clock skew correction and retry requests that fail because of an skewed client clock. Defaults to false.

  • s3ForcePathStyle (Boolean)

    whether to force path style URLs for S3 objects.

  • s3BucketEndpoint (Boolean)

    whether the provided endpoint addresses an individual bucket (false if it addresses the root API endpoint). Note that setting this configuration option requires an endpoint to be provided explicitly to the service constructor.

  • s3DisableBodySigning (Boolean)

    whether S3 body signing should be disabled when using signature version v4. Body signing can only be disabled when using https. Defaults to true.

  • s3UsEast1RegionalEndpoint ('legacy'|'regional')

    when region is set to 'us-east-1', whether to send s3 request to global endpoints or 'us-east-1' regional endpoints. This config is only applicable to S3 client. Defaults to legacy

  • s3UseArnRegion (Boolean)

    whether to override the request region with the region inferred from requested resource's ARN. Only available for S3 buckets Defaults to true

  • retryDelayOptions (map)

    A set of options to configure the retry delay on retryable errors. Currently supported options are:

    • base [Integer] — The base number of milliseconds to use in the exponential backoff for operation retries. Defaults to 100 ms for all services except DynamoDB, where it defaults to 50ms.
    • customBackoff [function] — A custom function that accepts a retry count and error and returns the amount of time to delay in milliseconds. If the result is a non-zero negative value, no further retry attempts will be made. The base option will be ignored if this option is supplied. The function is only called for retryable errors.
  • httpOptions (map)

    A set of options to pass to the low-level HTTP request. Currently supported options are:

    • proxy [String] — the URL to proxy requests through
    • agent [http.Agent, https.Agent] — the Agent object to perform HTTP requests with. Used for connection pooling. Defaults to the global agent (http.globalAgent) for non-SSL connections. Note that for SSL connections, a special Agent object is used in order to enable peer certificate verification. This feature is only available in the Node.js environment.
    • connectTimeout [Integer] — Sets the socket to timeout after failing to establish a connection with the server after connectTimeout milliseconds. This timeout has no effect once a socket connection has been established.
    • timeout [Integer] — Sets the socket to timeout after timeout milliseconds of inactivity on the socket. Defaults to two minutes (120000).
    • xhrAsync [Boolean] — Whether the SDK will send asynchronous HTTP requests. Used in the browser environment only. Set to false to send requests synchronously. Defaults to true (async on).
    • xhrWithCredentials [Boolean] — Sets the "withCredentials" property of an XMLHttpRequest object. Used in the browser environment only. Defaults to false.
  • apiVersion (String, Date)

    a String in YYYY-MM-DD format (or a date) that represents the latest possible API version that can be used in all services (unless overridden by apiVersions). Specify 'latest' to use the latest possible version.

  • apiVersions (map<String, String|Date>)

    a map of service identifiers (the lowercase service class name) with the API version to use when instantiating a service. Specify 'latest' for each individual that can use the latest available version.

  • logger (#write, #log)

    an object that responds to .write() (like a stream) or .log() (like the console object) in order to log information about requests

  • systemClockOffset (Number)

    an offset value in milliseconds to apply to all signing times. Use this to compensate for clock skew when your system may be out of sync with the service time. Note that this configuration option can only be applied to the global AWS.config object and cannot be overridden in service-specific configuration. Defaults to 0 milliseconds.

  • signatureVersion (String)

    the signature version to sign requests with (overriding the API configuration). Possible values are: 'v2', 'v3', 'v4'.

  • signatureCache (Boolean)

    whether the signature to sign requests with (overriding the API configuration) is cached. Only applies to the signature version 'v4'. Defaults to true.

  • dynamoDbCrc32 (Boolean)

    whether to validate the CRC32 checksum of HTTP response bodies returned by DynamoDB. Default: true.

  • useAccelerateEndpoint (Boolean)

    Whether to use the S3 Transfer Acceleration endpoint with the S3 service. Default: false.

  • clientSideMonitoring (Boolean)

    whether to collect and publish this client's performance metrics of all its API requests.

  • endpointDiscoveryEnabled (Boolean|undefined)

    whether to call operations with endpoints given by service dynamically. Setting this

  • endpointCacheSize (Number)

    the size of the global cache storing endpoints from endpoint discovery operations. Once endpoint cache is created, updating this setting cannot change existing cache size. Defaults to 1000

  • hostPrefixEnabled (Boolean)

    whether to marshal request parameters to the prefix of hostname. Defaults to true.

  • stsRegionalEndpoints ('legacy'|'regional')

    whether to send sts request to global endpoints or regional endpoints. Defaults to 'legacy'.

  • useFipsEndpoint (Boolean)

    Enables FIPS compatible endpoints. Defaults to false.

  • useDualstackEndpoint (Boolean)

    Enables IPv6 dualstack endpoint. Defaults to false.

Property Details

endpointAWS.Endpoint (readwrite)

Returns an Endpoint object representing the endpoint URL for service requests.

Returns:

  • (AWS.Endpoint)

    an Endpoint object representing the endpoint URL for service requests.

Method Details

createSpace(params = {}, callback) ⇒ AWS.Request

Creates an AWS re:Post Private private re:Post.

Service Reference:

Examples:

Calling the createSpace operation

var params = {
  name: 'STRING_VALUE', /* required */
  subdomain: 'STRING_VALUE', /* required */
  tier: BASIC | STANDARD, /* required */
  description: 'STRING_VALUE',
  roleArn: 'STRING_VALUE',
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  },
  userKMSKey: 'STRING_VALUE'
};
repostspace.createSpace(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • description — (String)

      A description for the private re:Post. This is used only to help you identify this private re:Post.

    • name — (String)

      The name for the private re:Post. This must be unique in your account.

    • roleArn — (String)

      The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support tickets.

    • subdomain — (String)

      The subdomain that you use to access your AWS re:Post Private private re:Post. All custom subdomains must be approved by AWS before use. In addition to your custom subdomain, all private re:Posts are issued an AWS generated subdomain for immediate use.

    • tags — (map<String>)

      The list of tags associated with the private re:Post.

    • tier — (String)

      The pricing tier for the private re:Post.

      Possible values include:
      • "BASIC"
      • "STANDARD"
    • userKMSKey — (String)

      The AWS KMS key ARN that’s used for the AWS KMS encryption. If you don't provide a key, your data is encrypted by default with a key that AWS owns and manages for you.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • spaceId — (String)

        The unique ID of the private re:Post.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteSpace(params = {}, callback) ⇒ AWS.Request

Deletes an AWS re:Post Private private re:Post.

Service Reference:

Examples:

Calling the deleteSpace operation

var params = {
  spaceId: 'STRING_VALUE' /* required */
};
repostspace.deleteSpace(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • spaceId — (String)

      The unique ID of the private re:Post.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deregisterAdmin(params = {}, callback) ⇒ AWS.Request

Removes the user or group from the list of administrators of the private re:Post.

Service Reference:

Examples:

Calling the deregisterAdmin operation

var params = {
  adminId: 'STRING_VALUE', /* required */
  spaceId: 'STRING_VALUE' /* required */
};
repostspace.deregisterAdmin(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • adminId — (String)

      The ID of the admin to remove.

    • spaceId — (String)

      The ID of the private re:Post to remove the admin from.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getSpace(params = {}, callback) ⇒ AWS.Request

Displays information about the AWS re:Post Private private re:Post.

Service Reference:

Examples:

Calling the getSpace operation

var params = {
  spaceId: 'STRING_VALUE' /* required */
};
repostspace.getSpace(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • spaceId — (String)

      The ID of the private re:Post.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • arn — (String)

        The ARN of the private re:Post.

      • clientId — (String)

        The Identity Center identifier for the Application Instance.

      • configurationStatus — (String)

        The configuration status of the private re:Post.

        Possible values include:
        • "CONFIGURED"
        • "UNCONFIGURED"
      • contentSize — (Integer)

        The content size of the private re:Post.

      • createDateTime — (Date)

        The date when the private re:Post was created.

      • customerRoleArn — (String)

        The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support tickets.

      • deleteDateTime — (Date)

        The date when the private re:Post was deleted.

      • description — (String)

        The description of the private re:Post.

      • groupAdmins — (Array<String>)

        The list of groups that are administrators of the private re:Post.

      • name — (String)

        The name of the private re:Post.

      • randomDomain — (String)

        The AWS generated subdomain of the private re:Post

      • spaceId — (String)

        The unique ID of the private re:Post.

      • status — (String)

        The creation or deletion status of the private re:Post.

      • storageLimit — (Integer)

        The storage limit of the private re:Post.

      • tier — (String)

        The pricing tier of the private re:Post.

        Possible values include:
        • "BASIC"
        • "STANDARD"
      • userAdmins — (Array<String>)

        The list of users that are administrators of the private re:Post.

      • userCount — (Integer)

        The number of users that have onboarded to the private re:Post.

      • userKMSKey — (String)

        The custom AWS KMS key ARN that’s used for the AWS KMS encryption.

      • vanityDomain — (String)

        The custom subdomain that you use to access your private re:Post. All custom subdomains must be approved by AWS before use.

      • vanityDomainStatus — (String)

        The approval status of the custom subdomain.

        Possible values include:
        • "PENDING"
        • "APPROVED"
        • "UNAPPROVED"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listSpaces(params = {}, callback) ⇒ AWS.Request

Returns a list of AWS re:Post Private private re:Posts in the account with some information about each private re:Post.

Service Reference:

Examples:

Calling the listSpaces operation

var params = {
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
repostspace.listSpaces(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • maxResults — (Integer)

      The maximum number of private re:Posts to include in the results.

    • nextToken — (String)

      The token for the next set of private re:Posts to return. You receive this token from a previous ListSpaces operation.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • nextToken — (String)

        The token that you use when you request the next set of private re:Posts.

      • spaces — (Array<map>)

        An array of structures that contain some information about the private re:Posts in the account.

        • arnrequired — (String)

          The ARN of the private re:Post.

        • configurationStatusrequired — (String)

          The configuration status of the private re:Post.

          Possible values include:
          • "CONFIGURED"
          • "UNCONFIGURED"
        • contentSize — (Integer)

          The content size of the private re:Post.

        • createDateTimerequired — (Date)

          The date when the private re:Post was created.

        • deleteDateTime — (Date)

          The date when the private re:Post was deleted.

        • description — (String)

          The description for the private re:Post. This is used only to help you identify this private re:Post.

        • namerequired — (String)

          The name for the private re:Post.

        • randomDomainrequired — (String)

          The AWS generated subdomain of the private re:Post.

        • spaceIdrequired — (String)

          The unique ID of the private re:Post.

        • statusrequired — (String)

          The creation/deletion status of the private re:Post.

        • storageLimitrequired — (Integer)

          The storage limit of the private re:Post.

        • tierrequired — (String)

          The pricing tier of the private re:Post.

          Possible values include:
          • "BASIC"
          • "STANDARD"
        • userCount — (Integer)

          The number of onboarded users to the private re:Post.

        • userKMSKey — (String)

          The custom AWS KMS key ARN that’s used for the AWS KMS encryption.

        • vanityDomainrequired — (String)

          This custom subdomain that you use to access your private re:Post. All custom subdomains must be approved by AWS before use.

        • vanityDomainStatusrequired — (String)

          This approval status of the custom subdomain.

          Possible values include:
          • "PENDING"
          • "APPROVED"
          • "UNAPPROVED"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listTagsForResource(params = {}, callback) ⇒ AWS.Request

Returns the tags that are associated with the AWS re:Post Private resource specified by the resourceArn. The only resource that can be tagged is a private re:Post.

Service Reference:

Examples:

Calling the listTagsForResource operation

var params = {
  resourceArn: 'STRING_VALUE' /* required */
};
repostspace.listTagsForResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • resourceArn — (String)

      The ARN of the resource that the tags are associated with.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • tags — (map<String>)

        The list of tags that are associated with the resource.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

registerAdmin(params = {}, callback) ⇒ AWS.Request

Adds a user or group to the list of administrators of the private re:Post.

Service Reference:

Examples:

Calling the registerAdmin operation

var params = {
  adminId: 'STRING_VALUE', /* required */
  spaceId: 'STRING_VALUE' /* required */
};
repostspace.registerAdmin(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • adminId — (String)

      The ID of the administrator.

    • spaceId — (String)

      The ID of the private re:Post.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

sendInvites(params = {}, callback) ⇒ AWS.Request

Sends an invitation email to selected users and groups.

Service Reference:

Examples:

Calling the sendInvites operation

var params = {
  accessorIds: [ /* required */
    'STRING_VALUE',
    /* more items */
  ],
  body: 'STRING_VALUE', /* required */
  spaceId: 'STRING_VALUE', /* required */
  title: 'STRING_VALUE' /* required */
};
repostspace.sendInvites(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • accessorIds — (Array<String>)

      The array of identifiers for the users and groups.

    • body — (String)

      The body of the invite.

    • spaceId — (String)

      The ID of the private re:Post.

    • title — (String)

      The title of the invite.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

tagResource(params = {}, callback) ⇒ AWS.Request

Associates tags with an AWS re:Post Private resource. Currently, the only resource that can be tagged is the private re:Post. If you specify a new tag key for the resource, the tag is appended to the list of tags that are associated with the resource. If you specify a tag key that’s already associated with the resource, the new tag value that you specify replaces the previous value for that tag.

Service Reference:

Examples:

Calling the tagResource operation

var params = {
  resourceArn: 'STRING_VALUE', /* required */
  tags: { /* required */
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
repostspace.tagResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • resourceArn — (String)

      The ARN of the resource that the tag is associated with.

    • tags — (map<String>)

      The list of tag keys and values that must be associated with the resource. You can associate tag keys only, tags (key and values) only, or a combination of tag keys and tags.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

untagResource(params = {}, callback) ⇒ AWS.Request

Removes the association of the tag with the AWS re:Post Private resource.

Service Reference:

Examples:

Calling the untagResource operation

var params = {
  resourceArn: 'STRING_VALUE', /* required */
  tagKeys: [ /* required */
    'STRING_VALUE',
    /* more items */
  ]
};
repostspace.untagResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • resourceArn — (String)

      The ARN of the resource.

    • tagKeys — (Array<String>)

      The key values of the tag.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateSpace(params = {}, callback) ⇒ AWS.Request

Modifies an existing AWS re:Post Private private re:Post.

Service Reference:

Examples:

Calling the updateSpace operation

var params = {
  spaceId: 'STRING_VALUE', /* required */
  description: 'STRING_VALUE',
  roleArn: 'STRING_VALUE',
  tier: BASIC | STANDARD
};
repostspace.updateSpace(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • description — (String)

      A description for the private re:Post. This is used only to help you identify this private re:Post.

    • roleArn — (String)

      The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support tickets.

    • spaceId — (String)

      The unique ID of this private re:Post.

    • tier — (String)

      The pricing tier of this private re:Post.

      Possible values include:
      • "BASIC"
      • "STANDARD"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.